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.
Related
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.
I have an app designed for the iPhone only as the device family within XCode is set to iPhone. On an iPad Mini running a version prior to iOS 8.2, the app was treated as an iPad app without the (1x)/(2x) button at the bottom. This was causing crashes and confusion for my end users.
The solution is to upgrade to iOS 8.2 or later on the iPad.
I have an application with UITabBarController as root controller, inside first tab there is UISplitViewController. To make it work on iPad and iPhone I used this tutorial Universal UISPlitViewController. Everything seems to work greak except one thing, tab bar icon disappears on iPhone running with iOS 7. It works with iPad iOS 7/8 and iPhone iOS 8. I can't figure out why it happens, but I guess it's a bug with iOS 7. Here are sreenshots:
Did anyone has similar problem?
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
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.