I have created a sample iphone application Xcode 6 with ios8 comptability.when i run the application in ipad it is running in Ipad size not iphone size.but i have developed only iphone application not universal.
Thanks & Regards
Sam.P
I think the solution may be found in the following stack overflow answer: https://stackoverflow.com/a/26280780/824202
Keep your "Launch Screen File" empty and it should work. This fixed the issue for me.
Related
I have an iPad application on App Store. App is only supported for iPad. App is not a universal App. I am using launch screen storyboard.
App is working fine on 12.5, 10.5 inch iPad devices. But for 11.0 inch iPad device app (iOS 12.1) is not utilising full screen. App is behaving as iPhone app running on iPad without 2x button.
I know this issue comes when you run iPhone app on iPad. But as my app is iPad only. So not getting what causing this issue.
Is anyone faced similar issue? Please let me know how you fixed it.
Thanks in advance.
Note:
1 - iPad only build created on environment Xcode 10.0 and iOS 12.0
2 - Just review https://developer.apple.com/ipad/ Optimizing Your UI Section.
I don't have 11 inch/pro iPad device. So will iPad app build created on Xcode 10.1 resolved this issue?
If you didn't create a view for "that size" then it'll be displayed for the size you created it for. If you created a universal app it would automatically resize itself for the appropriate iOS device. If you create a view for the largest iPad size then it should automatically scale itself down for smaller screens. From the sound of it you created the app for a specific size iPad ignoring the other bit depths available on various models. Even if you want your app for "iPad only" you can do that while still controlling how it scales itself down to say an iPad Air vs iPad Pro.
I have been rejected by apple because they want my app to run at full resolution of the device's screen I am running my app on. For Example, I have developed my app for iPhone but it runs in a corner on an iPad.
So, They want to run it on iPad at full screen resolution as it runs on an iPad. Please help me fix this issue, I am in a fix after hearing this issue, Thanks for any help!
If you want the iPad app to be exactly as iPhone app... Just set your app in project settings to support only iPhone, it will then fit on iPad automatically. (All iPhone apps are supported automatically on iPad in special compatibility mode)
EDIT To clarify question
I have a large app that has been out for a few years. It runs perfect on all iPhone sizes (4 up to the 6 plus). It supports both iOS 7 & iOS8, and is Optimized for iPhone 5.
My issue is with iOS9. The app no longer uses the built in scaling that iOS provided to fit the app onto the 6 or 6P screens.
Not only that, but it is rendered as if it were on a 3.5" screen. It is not recognizing the Default-568h#2x.png static image. Causing it to letterbox on an iPhone 5.
Is this a bug in iOS9 that does not recognize the static splash screen image?
Thank you so much!
This was caused by my Default-568h#2x.png file being localized (Which is required by iTunes Connect).
When I removed the localization from the file, it started rendering perfect in iOS9.
This does not help anyone whose app is currently in the store with a localized Default-568h#2x splash screen file.
As far as I can tell the only way around it is to have a 'Splash Screen' .xib file defined in your project settings (you then lose the auto scaling for iPhone 6 and 6+, which was perfect for our application).
I have a case open with Apple regarding this. They told me that they could not look deeper into it until iOS9 was out of Beta (tomorrow morning), and if it was still happening, than it is indeed a bug on their side and (hopefully) would be fixed soon.
I use Images.xcassets to manage assets of app. I had to create a LaunchImage in there and just add images for iphone Portrait ios 7-9 and not have any for retina 4.7 and retina 5.5 and things worked again.
If you use a Launch Storyboard then you need to remove that and add xcassets as mentioned in previous paragraph
This is in xcode 7
I have see a black bar on top of the iPad app , actually app is designed for iPhone and running in iPad, Not able to reproduce in iPhone and this happens very rare.
Please Help on how to fix this issue
did you create the .xib file for ipad or storyboard? if so the also change your device in the deployment info section from iphone to universal.
You need to create universal application for both iPhone or iPad, currently your application target only iPhone Device.
I´ve made an app, and I tested it on my iPhone 5, iOS 8.1.2 It worked perfectly there, however when i tested it on my fathers iPhone 5s, iOS 7.1.2, the top and bottom of the screen were cut off, as if it was tested on an iPhone 4. Does anyone know what could cause this? Thanks in advance.
You need the 4" launch image. You must have the launch screen file which only works on iOS 8. iOS 7 requires the standard launch images.
You need to add your launch screen image Default-568h#2x.png to your project and set it to the Asset Catalog. This will work in both iOS 7 and iOS 8