iOS 16 - UI bug when keyboard showing while UIAlertController is presenting - ios

I have a problem that appears on my iOS app since iOS 16.
I have a UIAlertController presenting and when the keyboard appears, on iOS < 16 the keyboard is showing in front of the UIAlertController, but since iOS 16 the UIAlertController is moved up automatically.
Here is an example of the same app running on an iPhone 12 with iOS 15.5 (left) and iOS 16.1 (right):
I tried on iOS simulators and real devices and got the same problem.
How can I reproduce the iOS < 16 behavior on iOS 16?
Thanks for your help!

Related

How to get Apple Sign-in to work in iOS 15 Simulator?

Is there a trick to get Apple Sign-In to work on the iOS 15 simulators? It works fine on the iOS 13 simulators, but for iOS 15 it just stays stuck on the modal view where it asks for your password.
This has been fixed on iOS 16 simulator. Update to latest iOS simulator.

iOS 11 has different autolayout result?

I'm using storyboards in this project. I have been searching for the culprit of this layout bug (see photo) and wasn't able to find one. Here are some more detailed information.
When debugging the app using my iPhone 7plus iOS 11, I'm using the Xcode 9.0 Beta 2.
iOS version of the iPhone 7plus is iOS 11 Beta 9. As of writing, I'm installing the Beta 10 of the iOS 11.
I have a side menu library that has a layout bug in my iPhone 7plus (same OS version) too! But when the app is downloaded from the TestFlight or App Store, that layout bug never appears, but in this particular case, the view stays under the tabBar.
Layout is perfect in my two devices below iOS 11. It is perfect too in iPhone 7plus simulator WITH iOS 10. As of writing, I'm building the project to iPhone 7plus simulator WITH iOS 11.
I have tried toggling everything in the Interface Builder like under opaque bars, etc...
I did add some different colors to some of my views in the storyboard for easier debugging of views using Xcode. And indeed that in iOS 11, the view goes underneath the tabBar while in iOS 10, it does not.
What could be the issue here?
UPDATE:
Think of the view in the photo as a plain UIView. No scrollView, no tableView. Just a UIView, nothing special, not scrollable.
Xcode 9.0 Beta 2's iPhone7plus simulator has a perfect layout.
I have updated my iPhone7plus phone to iOS 11 Beta 10, and layout is still the same.

applicationwillenterforeground is not called on iOS 11 Beta

I have an existing app that works on iOS 10 or before, where as some of the features are broken in iOS 11 Beta 8. When I analyzed and debugged, understand that appdelegate methods "applicationDidEnterBackground" and "applicationwillenterforeground" are not called when app is coming from background to foreground immediately after tapping home button.
Important note: You should be doing the things like Tapping on home button followed by Tapping on App icon in no longer than 1sec.
Using Xcode Version 9.0 beta 6 (9M214v), testing on iPhone 7 Simulator.
Please find the attached sample code along with recorded video.
https://www.dropbox.com/s/zba7go5d7wo6j1n/Test.zip?dl=0
Did anybody face this issue? Seems, a bug in iOS 11.

iOS: TableViewCell background for iPad on iOS 9

I have some strange situation with background of TableViewCell when app is running on iPads - on simulator or on a real device under iOS 9.
I use XCode 8.3 for developing my app. On iPhones application looks perfect. And I cannot found the cause. It happenes with all TableVies on iPad with iOS 9. With iOS 10.3 it works with no issues.
Here is my setup:
How it looks like on iPad with iOS 10.3:
And how it looks like on iPad with iOS 9:
In the same time on iPhone 4S with iOS 9:
What makes the difference?
AsLarme advised, I have changed background colour for content view of table view cell and it solved the issue.

iOS 8 Keyboard Extension Buttons Not Showing

I have added the keyboard extension target to my iOS 8 app but the buttons are not appearing on my iPhone 5s. I have run the app and keyboard on the simulator and an iPod touch (all running iOS 8) and they work. It is only the phone that does not. I am using Xcode 6 beta and writing in Swift.
It is only the code that is automatically generated when adding the extension.
Any ideas?
Thanks.
Try updating to Xcode 6.0.1 Not the beta. Got released a few days ago from the app store.
Close all text editing apps before checking keyboard extension on device.

Resources