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

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

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.

App compiled with Xcode 6 runs on iPhone 5s top/bottom of screen blank

Recently we switched to Xcode 6, and I am having this issue: my simplest tabbed app compiled with Xcode 6 occupies just part of the screen, when it runs on iPhone 5s. There are two black strips sitting at the top and bottom of the screen. Like below:
By default, it looks that way (that is, I created the project using Xcode's template, and compiled and ran it without any modifications). I have also tinkered with various project setting bits, but in vain. Tried creating the project in both Swift and OC, both had the same issue. Never had this problem in Xcode 5.
Can anyone tell what's going on here?
Thanks.
Set up launch images in your app. It is mandatory now for ios 9. Refer this https://stackoverflow.com/a/18913189/3051458
This happens when you dont have the right image assets in your project.
Correctly again drag drop the correct image assets in your project (check the splash images) and it will work.
Dont know why this happened but I suffered from this too ones and then saw the splash images got deleted.

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?

Running first singleview ios application on Xcode

I'm writing a very first program for iOS in Xcode 6 (Single-view application).
I added a label and ran a simulation.
I have seen this label on a simulator. But when i added an additional button on a Main.storyboard's ViewControler and rebuilt the project - the was no any button. It seems like simulator ran first version without the button. How can i launch last version of my project on a simulator?
Thanks.
Xcode 6 run by default with auto layout enabled along with size classes also enabled..
you can check that by disable both of them by going to your storyboard and show file inspector (you'll find it on the right side pane)
And then rerun the app.. if you find the button in its place.. then you should start learn how to use the auto layout cause it's essential now by apple to support any universal app you wish to create in the future .

Why does my app look different when running against iOS 6 vs iOS 7?

Here is what I have it set to look like in Interface Builder. The guidelines show that I can put it right up to the inherited nav bar like this:
When running against iOS 7 is looks and works fine:
But against iOS 6 it looks like the UIImageView is being pushed down a good amount, about the height of the nav bar:
Why is this happening only for iOS 6?
I think I may have found the answer...
My controls where copy/pasted from an iOS 6 only project to my new iOS 7/6 project. When I add a new fresh UIImageView to the project, it performs as expected.
Lesson of the day: Don't copy/paste controls into an iOS 7 project and expect them to function properly.

Resources