recently I uploaded an app to app store after checking all issues in simulator, all were working well. When I downloaded the app in iphone 5 one of the screen is missing and instead of that a black screen is getting appeared. I checked the simulator to ensure if its there or not but the simulator for iphone 4 retina is doing good, what could be the issue.
P.S:- I have all screen in three sizes, 320X480, 640X960, 1136X640 and named them as the rules like x.png, x#2x.png and x-568h#2x.png. Only the background screen is missing, all other controls are getting appeared.
Related
When I launch the app through the Xcode in my Iphone 6s, the app is being launched zoomed. The specific app is already on the app store with all the assets and launch images set correctly and everything was working fine. All the resolutions were correct for all IOS devices. But now, after I launched it again through the xcode as I want to make an update the app is being launched zoomed. Any ideas why this is happening? I managed to test it only in Iphone 6s.
Happened to me when I gave a wrong resolution to the splash image (750x1134 instead of 750x1334). I guess Xcode assumes you want to use the app with that resolution overall and adapts accordingly. Was fixed when I gave the correct resolution splash image.
At least I didn't find a solution and what caused this issue, but I used the storyboard file as a launch screen which was much easier to develop.
My app scales the same on iPhone 6 and 6 plus as on the 5. I'm trying to get the app to use the extra screen space on the larger phone. I've read about using the appropriate size launch images, but it only works in the simulator, not on the device. I added a 750x1334 launch image for the iPhone 6, and the various sizes for the other devices. When I launch in the simulator, the scaling takes place as expected. When I launch on the device, the screen scales to the iPhone 4s scale instead.
I tried starting over with the launch images, and adding one at a time. Whenever I add the 750x1334 for the Retina HD 4.7, the app on the phone scales to iPhone 4 size. I tried deleting the app and reinstalling but the same thing happens. Also, I notice now that when I put in the Retina HD 4.7 image, it also causes the same thing to happen on my iPhone 5, even though there is an appropriate launch image for that size device.
Any help would be greatly appreciated.
EDITED TO ADD: My wife's iPhone 6 Plus just came in and it does not exhibit the above behavior (but remains a problem with iPhone 6 and 5).
I was able to achieve the desired result through doing the following:
1) leave in place my old Launch Images Source configuration set that covered iPhone 4 and 5. This takes care of iOS 7 devices.
2) create and designate a Launch Screen File in XIB. This takes care of all devices on iOS 8.
3) On iPhone 6, under Settings --> Display and Brightness --> Display Zoom, choose Standard instead of Zoomed. Users who have Zoomed will see the screen scaled to the same as that of iPhone 5.
We have an app that has been rejected in the review process by the Apple app review people. The cause for the rejection is that the app is not scaling properly when run on an Ipad.
The app was never meant to be run on an Ipad, but there seems to be no point in arguing with them about that.
Apple sent us a couple of screenshots that show our app being run on an Ipad with the top portion of the view cut off. Notice how the app is run in some mode where it looks like an Iphone app and does not fill out the entire display area. When we bring up the app on an Ipad, it fills out the screen and does so without any edges cut off.
Can anyone please tell me how to run the app on an Ipad the way the Apple guys have - Iphone-sized? We believe we have a fix for the issue but we need to reproduce the error and then be able to verify that the fix solves the issue.
(the logotypes in the images are intentionally blurred)
I just went through this myself and here is how I resolved it:
Go into info.plist and see if any of the supported interface orientations are set for iPad. Despite selecting iPhone only, I had iPad supported orientations for four (portrait, portrait upside down, landscape left, landscape right). I deleted those.
I also deleted any reference to the launch screen in the info.plist. My app is pretty simple and there's no preloading of data so I don't really need a launch screen. If you do, you could go old school and make your first VC the launch screen.
I then made these changes in Target-->General-->App Icons and Launch Images
That was the only way I could get it in the sim to run the app at iPhone resolution while running an iPad (iPad2, iPad Air).
If Apple is going to force developers to ensure an app runs on an iPad even if it is made just for iPhone, they should eliminate the iPhone Only and Universal options and just have iPad Only as an option.
To run an iPhone app on an iPad, you just need to:
Acquire an iPad (you can also use the simulator)
Set the target device family in Xcode (it's under your target) to iPhone
Connect your iPad, perform any necessary certificate dances
Run the app on the iPad.
As long as the target device family is set to iPhone, the iPad will show your app in this mode.
Apple is likely running your app on a simulator, not on a real device. Notice the "2X" on the top right. In XCode - you should run the app on iPad Retina Simulator. On the bottom right you will see a button that you can toggle from 1X to 2X.
If you place the simulator in "2X" mode, you will see what Apple is seeing.
What OS are you running on your iPad? Things have changed in iOS 8 - and that's likely why you're not seeing what Apple is seeing. My guess is that your are running an app that was initially developed for iOS 7 or earlier - which means that you need to upgrade from scaled resolution to native resolutions to resolve this issue. Here is how you do it:
How to enable native resolution for apps on iPhone 6 and 6 Plus?
I'm using Xcode 4.6.3 and my storyboard looks like this ,
When I run the app in any other hardware configuration (All sizes, iPhones and iPads) it works perfectly except the 4-inch retina. It cuts off at the top and at the bottom.
When i press home on the simulator the home-screen and the rest looks normal
I'm completely baffled by what can cause this and i don't have an actual device with that size to test on.
Anyone with this problem in xcode 5 (with your Default-568h#2x.png already included) may want to try creating an Asset collection - it fixed it for me (it also fixed a problem I had of icons and launch images not updating in the simulator)!
I followed the instructions in this answer: https://stackoverflow.com/a/12397309/1084932 to update my app for the new iPhone 5 screen size. Great, worked perfectly!
But, I am not quite ready to make this update and wish to roll back to the letterbox setup for now. I tried deleting Default-568h#2x.png to see if that would work, but my app still fills up the full iPhone 5 screen even without the Default-568h#2x.png file.
Anyone know how to undo the auto resizing for iPhone 5 after adding Default-568h#2x.png?
[EDIT] I have not tired with an iPhone 5 device, but my question is specifically with the simulator.
Try doing Product --> Clean in Xcode
And delete the app from the phone and build again.
Sometimes the Default.png image gets cached