Converting Storyboard to iPad from iPhone storyboard - iphone

I wanna convert storyboard from iPhone to iPad. So i tried this answer.
Converting Storyboard from iPhone to iPad
When i opened the new iPad Storyboard, it just shows the error as below:
So how can i resolve this?? Or Give me suggestions to convert to iPad Storyboard. I'm using Xcode 6.3.1

Try this:
Make sure your projects setting is in Universal
Add key "Main storyboard file base name (iPad)" in your plist file with MainStoryboard_iPad as the value

Related

How to duplicate iPad storyboard into iPhone storyboard including language strings?

I created a storyboard that I want only to apply to iPads, and I want to duplicate it to create a separate storyboard for the iPhone. I'm trying to get the new iPhone storyboard to have the same localizable strings as the iPad one. Is there any way to do this?
This is the entire iPad storyboard I'm trying to duplicate:

Copied iPhone storyboard and pasted directly into iPad storyboard, but not every view controller displays correctly on iPad

I am making separate storyboards for my app on iPhone and iPad. All of the elements on both storyboards are the same, but I needed to change a few things like font size, constraints, etc.
I did Command A (select all) and Command C to copy all of the iPhone view controllers. Then I did Command V to paste all the VCs into the iPad storyboard. Most of the VCs in the iPad storyboard display with the correct iPad format, but a few of the VCs will still display with the iPhone format even when I'm using an iPad...
I made sure that the iPad storyboard was being used for the iPad device type. Any help would be greatly appreciated

convert ipad xib to iphone xib in xcode 4

I am trying to find out, how to convert iPad xib to iPhone xib.
I found this question which sais in one of the answers:
"Now you must change the code of nib name and switch iPhone - iPad"
I don't understand how to do that. And I think it might be important, because in my UIView, Simulated Matrix, Size, I have the option "iPad full screen", and I would like to use "iPhone full screen"
Thanks, Shefy
I am not sure what you are trying to do but you can just remove the base view of xib and add a new UIView with the desired size add this as the base view of the xib

Load different view for different device on UITabBarController load

i have a tabbar controller created by interface builder. It has 5 tab with 5 views.
Now i can porting this project in ipad compatible version.
Using xcode and IB i created the correct views for ipad with "create ipad version using autosizing masks".
I have TestView_iPad.xib and TestView.xib
Ok!
Now, how can i load at startup in my tabbar controller the iphone or ipad correct nib file??? What is the right way?
I need to do this in my testview controller or in my appdelegate?
I recognize the devices correctly, but i not able to load from different nib file, because it where setted from interface builder (Nib Name = "TestView" from Inspector)!
someone have a trick?
thanks,
A
For my iOS app, I use two different NIBs and yes, they both have UITabBarControllers. The way I do it is by adding a key to my Info.plist: Main nib file base name (iPad) and copy the iPhone xib and rename it (Example: TabBar_iPad.xib) Then add your new xib's name as the value for Main nib file base name (iPad) and enter the xib's name destined for the iphone under the key Main nib file base name (iPhone)
It works great!

Adding UISplitviewController to nib file of universal app, object not showing

So I've upgraded my iphone app to a universal app and am trying to add a uisplitviewcontroller. In MainWindow-ipad.xib, when I try to drag an object to the window, uisplitviewcontroller isn't an option. Furthermore, the screen size is the iphone's dimensions, not the ipad's. How do I get this to work with the universal app?
Thanks.
Valid XHTML http://img687.imageshack.us/img687/504/screenshot20100809at436.png
So I found out how to do it. You have to convert it to an iPad nib.