Hi I am newbie for developing the ios application. I had faced issue I am not able to see the UItextFields in storyboard. But while build the project and run into ios devices its working fine. In IOS mobile it visible all textFields.please find the below given screen shots.
What is Sky Floating Label Text Field? Apparently, this component doesn't support rendering to the Interface Builder. It should be #IBDesignable class. Try to use normal UITextField and you will see it in Storyboard.
Related
i am developing ios 8 app using swift. i got some problem with viewcontroller layout in the storyboard. when i add the viewcontroller, i only get iphone size but not ipad size. my app is only focus on ipad not even universal application. i checked size in "simulated metrics" but there is no size for ipad except all iphone sizes.
but i create new storyboard and add the viewcontroller. there is no totally issue at all. so what happened to my existing storyboard? and how can i fix it?
Thanks,
frog
Select the storyboard in the Project navigator. Use the File inspector and enable Size Classes (it's a checkbox). That solves it.
If you really don't like enabling Size Classes, now disable Size Classes again - but when the dialog appears, specify that you want to keep the iPad size class data. (Really, though, you should be using Size Classes if this is an iOS 8 app.)
I am using storyboard and xcode 4.6 for designing Iphone app. I have very complex viewscontrollers and some of the subviews(like scrollview's and autocomplete tablviews) have generated dynamically. When app build for iphone 4 everything works fine. But, when using Iphone(retina-4 inch) simulator, I noticed that there is space at the top and bottom of the screen and also some of the subviews (like scrollviews and autocomplete tableviews ..) misplaced and covering other subviews in that viewcontroller. I tried to search and found some are suggesting to design/load two xib files based on screen size. I have enabled both autoresize masks and autolayout, but still the problem persists.
How to design a single storyboard file that is feasible for both Iphone-4 and Iphone-5.
Reference:How to develop or migrate apps for iPhone 5 screen resolution?
Update attached screenshot:
Storyboard file
Thanks in advance...
use the button in the picture below to toggle between retina 4 in and 3.5 inch. use the autosizing tool under the size inspector on the top right to get views to position themselves correctly.
I am looking for a solution for this weird UIToolBar issue happening on IOS 5.0.1.
I have added two UIToolBars from interface builder but the toolbars do not look like the original toolbars. They displayed like a custom view. The tool bars are displayed properly in IOS 4 and 3.
Only on IOS 5.x does the issue appears
Here is a screenshot for the issue:
I think iOS SDK doesn't give you those icons, it seems to me customized PNGs, which have no retina display version (#2x).
I've been following an excellent guide on how to create basic custom table cells and populate them via a plist. The problem i've run into is the guide is written for iPhone, and i'm developing an app on iPad, one of the key issues is when creating the project, the guide uses a Navigation based template for iPhone, where iPad isn't selectable. Later on the guide it says to add outputs to this controller.
I tried following the guide using a Window based template for iPad, but have run into some problems when connecting the output. In particular where I add my 'customTableViewCell' outlet to the 'RootViewController' (which is a UITableController) - in my iPad project, it's just a 'UIViewController'
Is there an easy was to solve this? or is developing it on iPad a totally different tutorial?
thanks.
On the iPad, the Split-View format is really for navigation. It has a root view controller that is a tableview. You might have good luck starting with that template.
In the Interface Builder, you can add UITableView by dragging it onto the view.
Just a silly question that just cant figure out. Ive been working on iPad apps for a while but now Im back on an iphone project.
I created an iphone 4.0 sdk based project but when i double tap on a xib file, IB comes with iPad layout and i cant figure out how to switch it back to iphone layout.
Anyone?
When you create the project, be sure to select Product = iPhone in the "New Project" window.
Also, if you already have the iPad views, you can transform them to iPod/iPhone views through File->Create iPod/iPhone Version using autosizing masks
Partially solved,solution sucks. i created a view based project and there IB shows xib with iphone layout. Couldnt find a solution yet when creating a window based project.