Cordova icon / splashscreen issue - ios

For the life of me I can't figure out why the icon is all huge and not disappearing when the splash screen on my Cordova iPhone app shows up. Here is it shown on the iPhone 6. It also happens when tested on an iPhone 6 Plus. For some reason it doesn't have this effect on the iPhone X.
Is there some sort of config.xml preference or some undocumented change that I'm not making?

Related

Xcode 8.1 iPad simulator draws screen twice

I'm trying to bring my App current to iOS 10.1, using Xcode 8.1. My App is targeted to both iPhone and iPad. All the simulators for the iPhones work o.k. However all the iPad simulators draw a screen that is bad, and after a second, the good screen appears.
The bad screen looks like:
After about a second the actual screen appears. It looks like:
This did not happen in earlier versions of Xcode, and I sure would appreciate some suggestions on why Xcode 8.1 is doing this.
Charles
The problem is that you are still using a launch screen image file. Those no longer work. The initial screen nowadays is your LaunchScreen.xib or LaunchScreen.storyboard. You need to have one and configure it so that it matches your actual initial interface.

iOS - Keyboard suggestions bubble is wrongly hidden behind keyboard

In our iOS App the suggestions bubbles get hidden behind the keyboard. How can I prevent that from happening?
This appears to be an Apple bug in iOS 9 for iPhone 6/6+ class phones running under iPhone 5 compatibility mode, i.e., there are no launch images or other indicators to iOS that the app supports the larger screens of the iPhone 6/6+ class of phones, so it runs the screen as if it were an iPhone 5 class phone, with main view 568 high. The fix or workaround is to add native iPhone 6/6+ support to your app by adding in launch images for each of those phone sizes. The problem will go away. At least it has in my cases.

iOS Splash Screen not showing up on device - strange issue

I am making a test sprite kit game, and when I run it on the device, the splash screen doesn't show up although it does work on the simulator.
Here are some screenshots:
Normally I set the target to iOS 7.1 and later, so I use a .xib file and LaunchImage file in xcassets.
I have put 2 correctly sized splash screens in the iPhone portrait iOS 7&8 section, and have selected "Portrait" under iOS 7 and later. The link from the settings file is definitely going to the correct file.
When I run it on the simulator (presumably all devices are iOS 8), the .xib file is used and it displays that splash screen.
When I run it on my iPhone 4, it displays a black screen. In my other apps, it would choose the image from xcassets and display it, but this is not the case.
Does anyone know how I could solve this problem?
Edit
Basically, I have put 4 images into xcassets for a splash screen. I have selected iPhone portrait for iOS 7 and iOS 8.
In the settings pane I deleted the launch screen file reference, so the only reference is to the xcassets launch image (It points to the correct place). I have also deleted the LaunchScreen.xib file.
But when I run the app on the device and the simulator, no splash screen shows up.
I faced similar issue and fixed by Restarting the Mac and iPhone
Uninstalling the app from Simulator/ iPhone helped to fix this issue.
I was having the same problem, and I finally figured out a solution. I want my launch screen to show up on ALL devices capable of running iOS 7 or later, when running my landscape-only Sprite Kit game. Most devices that run iOS 7 can be upgraded to iOS 8 or greater, except for the iPhone 4 (which is stuck with iOS 7.1), and the launch screen wasn't appearing on my iPhone 4 test device. Then I stumbled across Apple Tech Note TN2244. As described in the Tech Note, once you edit the info.plist to enable landscape orientation for iOS 7.0+ iPhone launch images, the correct launch image will appear. As a side note, if you disable the launch image asset catalogs as suggested, the XCode Swift compiler gives you warning messages -- but you don't really need to disable launch image asset catalogs, and if you configure them properly the warnings will disappear and landscape launch images will now work just fine on all devices, including iPhone 4.
Your app's launch image is displayed as soon as your launch your app. Hence the name. It is removed when the appDelegate appDidFinishLaunching: method runs. If you are app has very little to load, your image might get displayed and removed before you have time to see it.
If you want to manually set a longer display time for your launch image, you can add this code to the appDidFinishLaunching: in the appDelegate.m file:
sleep(4);
4 being the number of seconds.

iPhone 5 device launching app as an iPhone 4

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

iOS 7 black splash bug and app launch size

Currently I am having troubles with a project I am working on.
First of I have this bug. Where the splash screen on iOS 7 is black when I set a splash screen for iOS 7 devices. The tip which I found there (and which works) is to only set splash screens voor iOS 6 and it will fetch those for iOS 7.
However, when doing this the app launches as an 3.5" app on an 4" device on iOS7. (The splash screen is full size).
I have tried using the old methods to have splash screens (e.g with correct naming conventions) and not using the Image Catalogs, but this doesn't change anything.
What can I do to have and a working splash screen on iOS 7 devices and the correct launch size for those devices?
It might be worth noting that this is a Universal app.
Have you tried to use a new project and set all image sizes?
There could be a problem with your Info.plist after changing the splash images many times.

Resources