UITableView background black and empty cells black on iOS 8 - ios

Xcode 7.0b3
iOS Deployment Target 8.0
Here's the test app I made to isolate the issue.
Created a UITableViewController in a UINavigationController. Tap a cell, and pushes another one of those table view controllers. This table view controller has a random number of sections and rows in each section.
On iPhone running iOS 9, table scrolls correctly... empty cells are while.
On iPhone running iOS 8, table has black background. Empty rows are black instead of white.
In our "real" app, we sometimes see contents of old UITableView in a new UITableView. So I tried to isolate the issue to see if its a bug building with the Xcode 7 beta.
Does this sound like a bug building with the beta xcode and using iOS 8? Or did we create a bug/doing something wrong?

I had the same issue in Xcode 7 beta 3. Temporary workaround was to set tableView.backgroundColor = UIColor.whiteColor().
As of Xcode 7 beta 4 issue seems to be fixed.

Related

Xcode 8 - UITable not rendering cells properly

I have tested the app in Xcode7 and 8.
This issue only happens in Xcode 8. I know it's wierd.
As you can see in the picture below the image avatar is not rendering, but if you scrolls then images avatars shows up.
In storyboards i'm using prototype cells.
Update
I compile with latest settings of Xcode8(SDK ios 10) without modifiy or even open storyboards. Everything working fine. So I can asume anything on new Storyboard System is broken.

tableview Cell separator line not showing in ios development using swift 2.0. xcode 7

I am trying to make an ios app which has tableview in it.
When I was developing using xcode 7.0.1 it was showing tableview cells separator line Black thin line.
After I updated with Xcode 7.1.1 , its not showing cell separator lines.
I tried 3 things like -
Tried All the settings in the right panel of xcode to show cell
separator line.
Tried setting up the Cell Line Separator using code in DidLoad method
creating new SingleViewApp as well, in that also its not coming. Nothing solves the issue.
I believe either its bug in xcode 7.1.1 or I am done some wrong global settings in xcode, Because for new apps also its not showing.
Please suggest me some solution.
It is possibly a bug when your simulator is scaled to 50% . I scaled the simulator window to 75% (CMD+2) or 100% (CMD+1) and that seems to show the separator lines.

iOS 8 with Xcode 6: PSCollectionView not scrollable and cell not selectable with Tabbed Application

I am using PSCollectionView, which is a Pinterest-style waterflow collection view. It is working very well with iOS 7 on Xcode 5&6 and in iOS 8 with Xcode 6, but in iOS 8 with Xcode 6 with TabBarController as the root controller, the view is not scrollable and cells are not selectable, just like the view is locked, even though it can load the data as normal.
I am wondering what may be the general reason for the collection view that is not scrollable and its cells are not selectable?
This class has already been 2-3 years, there may be some incompatibility within itself. For walking around, do you know there is any other Pinterest-style waterflow collection view that is working well now with iOS 8 with Xcode 6 that I can use instead?
Any ideas are appreciated! Thank you in advance!
After days trying to figure out this issue, finally got the solution.
It turns out it is nothing to do with the TabBar Controller nor iOS 8, it is the new setting of constraint of Xcode 6. I have to tick the "Installed" even though I already check "xC hR Installed" in the Attribute Inspector of the view used to show PSCollectionView. Now everything is working.
PS: but still don't know why I have to tick both of them to make it work. Any ideas?

Xcode 5.1 iOS 7.1 problems with cells at UITableView

I think I have found serious bug in new release of Xcode 5.1 after update my cells start to disappeare when I scroll to the bottom.
When I press on them couple of them
When I scroll after that to the top everything is fine and this problem is only on iOS 7.1. At iOS 7.0.3 everything is works fine.
I have found a little hack to make it work at iOS 7.1 To do that I have download old version of Xcode(5.0.2) and make build of application that I have install at my device with iOS 7.1 in this case everything is works fine too. So I think it's some bug in Xcode 5.1
Im having the exact same problem with an app i was finalizing and things started to go crazy with the table views (all 3) right after the update..
found the solution
iOS 7.1 beta5 tableviewcell height showing objects outside it's range
add the following to your cell
cell.clipsToBounds =YES;
I also had the same problem when I opened my project in Xcode 5.1 but I solved it in Interface Builder (Storyboard).
Click on the Table View Cell (not the Content View or Table View).
In the Inspector, check 'Clip Subviews'.
Do the same for all the other Table View Cells of the Table View.

Why my UI views have an iOS 6 look when in Xcode but not when building the app

I have a project that I created using Xcode 4 and the iOS 6 UI, when I opened the project with Xcode 5 for first the time I was asked if I wanted to convert the project and I said yes, It did its thing and everything worked fine, when I run the application it looks and feels like iOS 7 (the app is super simple). The issue or what I want to change is the way the UI views look in Xcode (UIBuilder), for instance if I add a new button to my view controller it shows the button with the border around it as in iOS 6, but again, when I run the app the border disappears, it looks like iOS 7 without the border which is what I want but it bothers me to see the border when I'm in Xcode.
Any idea? Is this a normal behavior when moving from one iOS version to another?
Thanks

Resources