This is my storyboard screen.
As you see, There are 4 iPhone type in my Xcode.
I want to add an iPad here. But, I don't know how to add other devices.
I solved.
Go to 'Interface Builder Document' then check the 'Use Trait Variations'
The first check, might be your app is iPhone only.Select universal app first.
Related
xcode screenshot
How can I create a project with storyboard? I don't see the interface dropdown. Thanks!
Looks like you try to create Multiplatform app:
In this case SwiftUI is used by default but you can add storyboards to your app manually later.
If you don't want to create a multiplatform app just select needed platform: iOS, macOS etc. and you can switch Interface to Storyboard:
I submitted my game to the app store and it got rejected because it didn't comply to iPad sizing, were I specified on iPhone on Xcode.
Yet apple thought otherwise.
Am I missing something? Where else do I specify only iPhone? iTunes Connect?
Check that you have
Scene.scaleMode = .aspectFit
added in the ViewController.swift file.
I had it set to aspectFill and it messed up the iPad view. When I changed it to .aspectFit, it worked great.
You just need to adjust that is is a iPhone only app not a ipodtouch/iPhone. Then you should pass.
In the application's Build Settings change the Targeted Device Family to iPhone, instead of iPhone/iPad or to 1 instead of 1,2.
I added a screenshot but my app is universal so i have both 1,2 set.
I am trying to create a launch storyboard for an iOS 8.1 app using Xcode 6.1.1
If i create a ViewController, add a view and add a label to that view, it all seems to work fine on actual devices. But when I add a UIImageView with an image file, the image never appears on the device.
Has anyone else had this problem? Has anyone else been successful just having a simple UIImage in a launch storyboard? I must be missing something.
FGRios
Just use image file added to project, not from *.xcassets
I had exactly the same issue. Removing the app from my phone, reboot the phone, and reinstalling the app fixed it for me.
My app's layout is fine for the iphone 5 simulator but is not working for the iphone 6 simulator. The layout does not stretch to the right and the bottom of the screen in the iphone 6 simulator. I have tried clicking on all the autolayout check boxes in my storyboard. I did notice that the interface builder document is set for ios 7 and above. Is there an option for ios 8? Can I program the layout? Any help would be awesome! I was going to post photos but I cant since this is my first post.
What you need my friend, is an Xcode feature called Constraints. Constraints, along with auto-layout, help you use one storyboard, and with that storyboard alone, develop for both the iPhone and iPad. Maybe you should check these tutorials out!-
Brian J Coleman's Tutorial
I'll post the other links as comments, StackOverflow isn't letting me post them...
I used this one, i found it to be the best-
AppCoda's Tutorial
Happy Coding!
I got this error "There was a problem rendering this document" when i tried to load my storyboard in my xamarin iOS application. I created another xamarin iOS project and still got the same error.
You can not do much there right now.
There are two options one should do:
1. Use Xcode storyboard if you can.
2. If the first one is not an option, create and use multiple storyboards in your project, since after your storyboard gets big enough xamarin has a lot of problems rendering and working with it. You have a lot of documentation on how to use multiple storyboards in your project.