iPhone 6 plus - App zoomed in - xcode

I built my app for iPhone 6 plus on the iOS simulator. All the other sizes looked fine but the iPhone 6 plus was zoomed in for some reason. Why does this happen? Would this still happen when it is built to the Appstore ?
Note: I am using unity free version and would not be allowed to change the splash image.

Related

Xcode 10 - Turn off Retina display of simulator, or set screen scale to 1

I would like to have a window scale of 1 (no retina display), on the simulator for example.
[UIScreen mainScreen].scale
In other words, this should return 1.
Is it possible?
You would need to select a simulated device that has a scale of 1. This includes the iPad 2 and the original iPad, the original iPhone, iPhone 3G and 3GS, and the first three iPod touches. All other iOS devices have a scale of 2 or 3.
Of those, the iPad 2 supported up through iOS 9.3.5 which you can still support in an iOS app with Xcode 10. So set your app's Deployment Target to iOS 9.3 or earlier and run it with the iPad 2 simulator.

Xcode 8 beta 6 - App image broken in iOS 8

I have Installed Xcode 8 beta 6 and deployed the app into iOS 8 - 10 device to test.
I found some app images are broken in iOS 8 device (Please refer to the image shown below)
It works perfectly fine in iOS 9 and iOS 10
Is it a bug from Apple? Anyone having the same problem? Many thanks.
Possible duplicate to : Xcode 8 simulator ios 8 image get distorted
Update: Xcode 8 GM build fixed this problem
I'm having the same issues too. I found that the same image on iPhone 4s was distorted but not on iPhone 6s. So I then tested it by disabling the 1x and 2x asset for the same image. It then started working on iPhone 4s. I hope Apple fixes this issue in the gold master.
Same here! There is a pending bug report in the other ticket, hopefully Apple will react and fix this in the next Beta iteration.
This issue is back in Xcode 9.2
https://developer.apple.com/library/content/releasenotes/DeveloperTools/RN-Xcode/Chapters/Introduction.html#//apple_ref/doc/uid/TP40001051-CH1-SW936
"Workaround: Build the app using Xcode 9.1, or use Xcode 9.2 and set the deployment target to iOS 8.4 or later."
Another more involved workaround is to delete the image from Images.xcassets and add the image(s) back in directly to the bundle.

some part is getting cut in Xcode simulator for ipad retina? using React Native

I am new to react native I just started it, After installing react native in the terminal and I created projects according to that explained in the docs.
When running the project in the Xcode simulator I find some issues I don't to how to rectify it can anyone help me. here are the images of my simulator
it is for iPhone 6
the second one is for iPad retina
when simulating iPad retina last part is cutting how to solve it. any solution is much appreciated
Because your screen is designed for iPhone 5 or 6.
iPad retina support only iPhone 4 screen size in emulation.

How to update my existing Xcode 5 Projects (iOS 7) for iPhone 6 Plus (iOS 8) screen size?

i just opened my existing projects created with Xcode 5 for iOS 7.2.1 in the new Xcode 6 and executed these app on the new iPhone 6 Plus.
The Apps worked so far (except for some corrections due to the Location Manager etc.).
But the Apps view is just scaled to the larger screen. It´s not the native resolution of the 6 Plus.
When i create a new project and add some frame work UI elements like a Button or a TableView, then the native (new) resolution is used.
Which kind of settings has to be changed now to adapt the Storyboards in the existing Apps for the new 6 and 6 Plus screen sizes?
Kind regards
Edit:
I think i found the solution here:
iPhone 6 Plus resolution confusion: Xcode or Apple's website? for development
This is the hint:
Note: Upload LaunchImages otherwise the App will run scaled and not show correct scaling, or screen sizes. In scaling mode the nativeScale and scale will not be the same.

What image sizes should i add in the ios7 project?

I am a little bit confused with iOS7 , should i add the 2x only images? or also add the small size?
and i read in app store documentation , that my app must support ipad? But i want it to be on iphone only , and if so why whatsapp is only on iphone.
Please help ,
Thanks
If your app supports only iPhone devices with iOS 7 and later then you need add only #2x images because the minimum iPhone model that supports iOS 7 is iPhone 4 that has retina display and require images with double definition.
If your app supports iPad then you need also add images with small sizes because the the minimum iPad model that supports iOS 7 is iPad 2 that has non-retina display.
According to your second question: You could support only iPhone if needed, it isn't obligatory to support both devices types (iPhone and iPad).

Resources