iOS 11 has different autolayout result? - ios

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.

Related

App fonts changed when running from Xcode 8

I have designed my storyboard in Xcode 7 and it's looking fine across all devices. I set the fonts from Interface Builder but when I run the app from Xcode 8 beta in iOS 9.x, the button's and label's fonts are changed automatically. Is it a bug in Xcode 8 beta? Also, is there any way to fix this issue without changing every components fonts manually?
I have the same issue in Xcode 8 release with iOS 10. In the app built for iOS 10 in Xcode 8 running on iOS 9.3 both simulator and on a real device 6plus the font size decreases in size. Oddly enough running on an iPad
Running the same build in iOS 10 everything is fine.
This is a iPhone app, not universal.
[Edit] - If I check Check the "Selectable" checkbox in the xib attribute inspector the problem goes away. This is for a read-only UITextView.
Interesting.

Adding iOS 8 Splash Screen causes App to distort

I have Old App working correctly with following Config of Splash screens
and this is how it should look
But as soon as i turn on iOS 8.0 and later and add splash
My App behave drastically weird like this
Man, use LaunchImage for iOS 7 (mostly), for iOS 8 and above, add LaunchScreen.xib, or as alternative, you can say your Main.storyboard as launch screen option:
For Device using iOS 7 you can do as usual, what we used to do using images.xcassets
For Device using iOS 8 you can use LaunchScreen.xib
Please note that if your application is developed on Xcode version <
5.0 then it is only compatible to 320px width devices (iPhone 4,4s,5,5s). You have to manually change constraints by checking devices/OS version.

Different standard Aqua space in ios 7 and 8

I'm using Xcode 7 beta 4, Mac OSX 10.10. My app's deployment target is iOS 7.0.
I know that standard Aqua space is 20 between a view and its superview. But when I design storyboard for iOS 7, I must use 8, like this:
and it looks fine (above constraints is for search bar). When I run iOS 8 simulator, it appears like this:
So I must use right value is 20. But using 20 will cut off subview in iOS 7.
Anyone know if this is a bug or is there anything different between iOS 7 and 8? This happens with all simulators and real devices too.

Autolayout issue in iOS 7 and iOS 8 (works fine in iOS 8.1)

I have created a project with Xcode 6.1 and set the deployment target to iOS 7.1
I have implemented the autolayout but deselected the size classes option from the storyboard.
Now whenever i run app on ios 8.1 simulators everything is fine but the moment i run app on iOS 7.1 simulators it causes problem.. Even if i deselect the autolayout option than to its casuing the same layout issue.
See Images to get better understanding
simulator 8.1 iPhone 5
simulator 7.1 iPhone 5
I am really not getting whats the issue as if the issue was related to Autolayout than after deselecting atleast screen should be covering the whole screen.
Please help me!!! Thanks a lot in advance

UITableView renders correctly in Simulator iOS 7.0, but not for iOS 6.1

I have an iPad app (XCode 5, iOS 7, ARC, Storyboards). When running the app in the Debugger, Simulator iOS 7.0, it works fine. When running in the Simulator iOS 6.1, I get black cells in the UITableView. Here is what I'm talking about:
This is what it's supposed to look like:
Unfortunately, my iPad that I do testing on has iOS 7.0, so there is no way I can test it on 6.1. Any ideas how to determine if this will carryover to a live iPad running 6.1? or should I now set the target iOS to 7.x?
The iOS simulator is usually reasonably accurate, so I'll assume that the same results will appear on an iPad running iOS 6.1. You might want to check how the cells appear on an iOS 6.1 storyboard, to make sure that you aren't setting them to black yourself by accident. If you go to your storyboard's file navigator view, there's an option to view it as iOS 7 or iOS 6.1 and earlier (outlined in red).
If this isn't the issue, I'd check any code you have that might be affecting the appearance of the cell. I know that the tintColor property, for example, has had its behaviour changed.

Resources