Questions tagged [universal-storyboard]

universal-storyboard is an interface to make of your apps in Xcode to iOS.

Is an interface to make your apps to .

Reference :

enter image description here

21 questions
16
votes
4 answers

position a view in storyboard at 1/3 of screen size

I'm trying to position a view in storyboard to always have it top edge at 1/3 of screen size. I have currently set a constraint to Top Layout Guide, but the constraint's constant is...well it is constant no matter which screen size it is used in,…
13
votes
4 answers

How to detect when a popover is dismissed in iOS 9

I'm updating an app to use universal storyboards. I've created a popover segue to a new viewcontroller using interface builder by dragging from a button to my new viewcontroller and selecting 'Present As Popover' as the kind of segue. When the user…
Mark Bridges
  • 8,228
  • 4
  • 50
  • 65
10
votes
1 answer

How to make uiview's width fit to the width of the parent view with some padding for both iphone and ipad using universal storyboard in xcode 6?

I am learning constraints and Universal Storyboard in xcode 6 and having a little bit of difficulty here. Using Universal Storyboard, my goal is to create a UIView that fits perfectly on an iPad Simulator(768 x 1024) and iPhone 4 Simulator(_ x _)…
xiaowoo
  • 2,248
  • 7
  • 34
  • 45
5
votes
2 answers

Xcode 6 - "universal storyboard" projects will support iOS 7?

If a new project is developed using Xcode 6 - universal story board, will it support its prior iOS versions (iOS 7) ?
Mithun Ravindran
  • 2,292
  • 2
  • 14
  • 23
4
votes
4 answers

UIPopOverController shrinking when presenting alert controller

I have the following UIPopOverController on iPad. This is an iOS 8 app with universal storyboards. In XCode, I have selected the segue of this as "Present as Popover". Whenever this view controller presents a UIAlertController, this happens: The…
3
votes
0 answers

iOS8 Universal storyboard how to refactor split view controller using size classes on iPhone?

I've converted my storyboard that uses split view controller to size classes using xCode 6 beta 3. Upon running the application, I see that the detail panel shows up first and has a "back" button in navigation. That button brings me to the master…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
2
votes
2 answers

creating complex layout in storyboard

I'm trying to create a complex user interface in storyboards. All I get is a bunch of errors and I do not know exactly how to resolve them, because suggested constraints are not appropriate. This is link to my project: link. Final layout should look…
sanjihan
  • 5,592
  • 11
  • 54
  • 119
2
votes
3 answers

iOS universal storyboard iPhone iPad

Lets say, I have an app that shows controller A on iPhone and controller B on iPad, you can think about it like UITableView (for iPhone) and UICollectionView (for iPad) for example. Both of the controllers have the same model and can also have same…
Amir
  • 455
  • 2
  • 8
  • 19
2
votes
3 answers

Most efficient way to reference 2 different IBOutlets at once (where each one only exists for it's own size class)?

I am currently using unified storyboards (with size classes). For 1 of my views, the difference in design between the wAny hAny and the wRegular hRegular size classes is significant enough that altering the constraints for the subviews based on size…
mrl
  • 1,467
  • 2
  • 14
  • 22
2
votes
1 answer

Universal Application in Xcode 6 using Universal Storyboards

i am developing an universal application using Xcode 6.0.1 universal storyboards. While using this i am confused how to configure my application for both iPhone and iPad (for all devices). I use W-Any H-Any for putting all buttons, ImageViews that i…
1
vote
1 answer

How to mimic 2 different row heights for a UItableview in universal storyboards based on size class?

I have a UITableview with a custom cell, using universal/unified storyboards. For the iPad, I would like the row height to be 120, and be 70 for all other size classes. I don't see a direct way to change the row height in storyboard based on size…
mrl
  • 1,467
  • 2
  • 14
  • 22
1
vote
0 answers

Xcode button with size classes

I am wanting to create a button that changes its size based on the device (Ex: 1:2 aspect ratio) in a Universal Storyboard. For example, the button would be much bigger on the iPad that it would on an iPhone. The problem I am running into is that…
dhint4
  • 1,132
  • 2
  • 11
  • 25
1
vote
0 answers

How to create UIScrollView using universal story board?

How to create simple UIScrollView app using Universal Storybioard in XCode 6? In my case All content view element is designed inside storyboard (ex: form view that have many input that you need scroll the screen)
DeckyFx
  • 1,308
  • 3
  • 11
  • 32
0
votes
1 answer

Universal storyboard UITableview row Height

Using Storyboard sizeClasses i want to define the different TableView Row Height Using UITableView Row Height Automatic based on screen height (Specially in iPad) Using Static TableView i Also want to achieve the Dynamic Row so that we can utilize…
0
votes
1 answer

PSD For Universal storyboard

Hey my application has universal storyboard with size classes and auto-layout, the designers sends me PSD File but the PSD File is iPhone 5 Layout i want to know what is the correct way for the designers / developers to use size classes (universal…
Gilad
  • 43
  • 9
1
2