Organizational Research By

Surprising Reserch Topic

why storyboard ui elements not showing on uiviewcontroller in xcode 6


why storyboard ui elements not showing on uiviewcontroller in xcode 6  using -'ios,ios8,apple'

I am new to IOS development. I am developing an app for IOS 8 devices. I used storyboard for my design yesterday my storyboard showing all UI design but today morning it show blank UIViewController no UI element vision please see in screen shot and very strange thing is that when i run my app all ui element visible in my device. I google but dont find any solution please help me out. Thank you in advance.


    

asked Sep 22, 2015 by balvant maurya
0 votes
42 views



Related Hot Questions

2 Answers

0 votes

It looks to me like you are using size class and you went into a particular size class and added these views. Now you are back in Any size class, so the views are not there (that is why they are greyed out in the document outline at the left). They are available only for that particular size class. If you switch back to it again, whatever it was, you will see them again. Basically, you have created conditional views - the condition being that they are present only when that particular size class situation is the case.

In other words, if you want your layout to apply in the general case, you want to start by creating and editing it under Any size classes. Only then do you switch to a particular size class and modify the layout for that particular size class.

when i run my app all ui element visible in my device

Yes, because on your device the particular size class situation matches the size class you were editing when you added those views. So there they are. That seems to me to prove my guess is right.

answered Sep 22, 2015 by ajit.chavhan
0 votes

enter image description here

Select install: Since all components [like label,textfield,buttons] are in disable mode, one select Installed check mark its will be enable again adjust constrain accordingly.

answered Sep 22, 2015 by suyesh.lokhande

...