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.
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.
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.
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?
I have a view with some tableviews and some collection views and also some buttons and labels.
I'm not sure if this is new with Xcode 6.1 because I have not worked on the ui aspect of this project for some time. However, when I try to resize just about anything in the view, my tableviews and collection views, and possibly some other elements I am not noticing, get deleted. Specifically, it seems their frame or rect propertied get deleted.
To be clear, this only occurs when I attempt to resize the element by dragging the sides in interface builder. If I resize them by changing the numbers directly either in the IB sidebar or in the xml, this does not happen.
I'm wondering if this is a bug in Xcode or if I have done something to cause this behavior which I can change.
Thanks!
I acheived a fix, at least for this project by turning off auto layout in "show the file inspector" -> "interface builder document"
I have never used this feature in the past so I do not know if it was on in the past but I am wondering if the new Xcode version turns it on by default where the others left it off.
It may also be possible that it has always been on but there is a bug in the feature in the new version.
This fixed the issue for me, at least in this particular project and at least for now. I hope others find this useful.
From here it looks like a bug in Xcode 6.1.
I created a clean project and the behaviour is the same on my machine:
https://github.com/nasht/Xcode6ConstraintTest.git
Resizing one view makes others disappear. Changing a layout constraint from a = to <= or >= also seems to do it.
I've raised a bug with Apple. Suggest you do the same.
workaround: You can install xcode 6.01 and use interface builder from there. You can still compile and run your code using xcode 6.1 if you're relying on xcode 6.1 specific features. (you'll need to rename your xcode.app so you can run both instances. ) It's ugly, but it works.
I found that it's fixed on the next version of xcode (6.1.1)
same problem, yosemit and xocde 6.1. I can resize some view only if i disable autolayout.
I think I ran into this 'problem'. I believe this was because one of the constraints I had was not setup correctly.
What OS X Version are you on? I updated to Yosemite today and 6.1 along with it. When I would resize a label my other elements were not getting deleted but instead getting resized and repositioned. The width / height would change to 0,0 and the x / y would change to 0,0 as well.
I was noticing other issues with Yosemite so went ahead and did a time capsule restore back to Mavericks and Xcode 6.0
I had the same problem in universal app; iphone works fine and the ipad doesnt work.
I'm using xCode 6.1 and OSX Yosemite
My app supports iOS7 and iOS8 and i had the same problem on iOS7 on iPad version only
Fix:
So i fixed it by setting Simulated Metrics in interface builder by
Size = iPad Full Screen and Orientation by Landscape or Portrait
I have got the same kind of problem with Xcode 6.1 and Yosemite :
I have created a view that I have added to the main view, so it appears like a sub view in the View Controller Scene.
Then I resize this subview to 320 x 568. My program works. It corresponds to the program dropit of Stanford CS193P Lecture 9.
I save the project, close it and reopen it : the subview has its width and height set to 0 !
I tried to open the project dropit of Lecture 8 that is quite the same, which was working before (I think in Xcode 6) and same problem ! First I thought that tapping (related to the subview) was not working but found out that tapping was not working because I was tapping on a subview which has its width and height set to 0 !
I have reset the size class wCompact hAny to which all the UIElements are added. and got corrected.