Blank settings screen for iOS app - ios

I am trying to create a settings bundle for a new app. When I use the default version, that is correctly displayed, yet when I just touch the file, by adding and deleting a space, for example, I get a totally empty screen as you may see in the attached screenshot. What is worst is that, even I restore the original settings, the screen remains as such until I delete them altogether and recreate them after running the app once without the settings.

It seems to be a general bug hopefully only affecting the development device. Quitting the settings restores it. To clarify the issue happens act second time the app is launched, even without touching the screen.

Related

App icon not appearing in app switcher in ios

I have recently developed a set of icons for my ios app using https://makeappicon.com. This provides a folder of appropriately sized images. I then have dragged each of these images into the appropriate slot in the AppIcon section in Assets.xcassets. The icon shows up fine in on my phone screen but not in the app switcher (see circled in image). There are no errors showing.
I have:
- Cleaned build folder and rebuilt
- I have restarted my iPhone
- I have manually placed all the images in the slots
- I have also tried replacing the original AppIcon folder with the one provided by make appicon
All to no effect. Be grateful for any suggestions.
Uninstall App → Restart Device → Install App
Just putting here for the sake of working answer !
As #cobberboy has mentioned in comment, doing above works - verified
I have been trying to figure out this issue, as I multiple times changed the icons removed the build, took new builds etc, but the app switcher icon was the default icon.
I have tried the app on a new phone and the desired icon was showing. So my guess is that the app switcher, (also apple watch OS's app switcher) has some sort of hardcore cache machanism.
If anyone coming from Google facing this issue, not sure how to flush this cache, but you can go ahead and ship your app, as this cache is only on your device.
Good luck!
Ensure you have provided icons for all sizes, deploy, then restart the device to clear any caches.

Launch Screen Not Updating in Xcode

IDE: Xcode 9.0
My app has an older launch screen that I want to replace with a new one. Trouble is, none of the changes I make to my Launch Screen.storyboard file will show up in Simulator or on devices unless I erase all content and settings first.
I can't seem to find anything wrong in build settings, but maybe I am missing something.
If you're seeing the old launchscreen before the new one, then I'd say it's normal. It happens to me too. I'm certain that this does not happen in production (app from App Store).
If you just cannot see the image you're trying to show in your launchscreen nib or storyboard, I've posted an answer here: https://stackoverflow.com/a/46398588/3231194

Prevent iOS Springboard from Caching previous versions of screens

We have an iOS app for which we've updated the UI and branding.
If we produce a test build of the new app, and run it over the existing app (i.e. upgrading it), it runs fine.
However, if we quickly press the home button to exit the app, and quickly go back in again, it shows a cached old copy of that screen while it's loading. This is jarring in our case, as the colours are completely changed in the new app.
Is there any way to prevent this?

How to force a call to getPlaceholderTemplate on Apple Watch simulator to update complications preview

I made the mistake of installing the app on the simulator without having set up all my complication templates. As the docs state, getPlaceholderTemplate gets called one time and then cached.
So now that I have all my Watch complication templates set up, I want to text them out by customizing the Modular face. But only the one template I had originally created will show up, the rest have the white box. This is just the static template I'm concerned about.
I've tried deleting the app from the simulator, removing it via the Watch app, re-installing, but still doesn't seem to call the function again to update the templates. Any thoughts? Thanks.
What I do to resolve this is click Simulator > Reset Content and Settings... in the Menu Bar for both iPhone and Apple Watch simulators.
Uninstall the app and then re-install using the Watch app on iPhone Simulator

Xcode 7 Settings.Bundle everytime I make a change the bundle is empty in settings

I created a settings bundle for my iPad app in Xcode 7 iOS 9.
When I make the smallest change, like rename the title of a setting or remove a setting from Root.plist and then I build the app and run it and check the settings in settings, its empty, if I don't change anything it appears, but its just empty. Has anyone come across this issue before?
Is there another step I have to do to change my settings bundle? besides Root.plist ?
As appearing in the comment of #user979331, the developer forums do refer to this problem, so far without a solution.
However it is worth mentioning the technique which is described there to bring the settings back:
Double-tap the home button to bring the list of active apps, and drag away the 'Setting' app to kill it.
If you then open the settings again, your app settings will appear back as expected !.

Resources