Questions tagged storyboard

Explore the latest questions and answers asked by our top developers.

Xcode: Is This An Xcode Bug Or An AutoLayout/Storyboard Issue?

SHORT QUESTION: Is there a correlation between the “View As” functionality on the Storyboard in Xcode and the way your App appears visually in the simulator? LONG QUESTION: I’m working on a Schedule app, and in the app there is a CollectionView at the top of the ViewController that allows you to select a date […]

By Julian
Published
Categorised as autolayout, ios, storyboard, swift, xcode

Xcode: AutoLayout/Storyboard with UICollectionView Issue

SHORT QUESTION: Is there a correlation between the “View As” functionality on the Storyboard in Xcode and the way your App appears visually in the simulator? LONG QUESTION: I’m working on a Schedule app, and in the app there is a CollectionView at the top of the ViewController that allows you to select a date […]

By Julian
Published
Categorised as autolayout, ios, storyboard, swift, xcode

iOS ScrollView needs constraint for y position or height

-ViewController –View —ScrollView (Top,Bottom,Leading,Trailing spaces to superview set to 0) —-ContentView (Top,Bottom,Leading,Trailing spaces to superview set to 0, Width equals with View (ViewController’s child)) —–Label1 —–etc… If i set a specific height constraint for my content view (e.g. 1000) the ScrollView works fine, but i got a static ContentView of 1000, which is not my […]

By Bioaim
Published
Categorised as autolayout, ios, objective-c, scrollview, storyboard

Check if you can use unwind segue before using a push segue

In a navigation using segues, from the root controller we can push controller A or B. From A we can push C which can push B which later can unwind to A to restart the process. From B we can push A which can push C which later can unwind to B to restart the […]

By Nextorlg
Published
Categorised as ios, segue, storyboard, uistoryboard, uistoryboardsegue

Reuse custom TableViewCell

I have a viewController that contains a programmatically created tableView. @property (strong, nonatomic) UITableView *numbersTableView; //… self.numbersTableView = [[UITableView alloc] initWithFrame:CGRectMake(0, -100, self.view.frame.size.width-20, 50)]; self.numbersTableView.delegate = self; self.numbersTableView.dataSource = self; self.numbersTableView.tag = 1; self.numbersTableView.layer.cornerRadius = 5; [self.numbersTableView setBounces:false]; [self.numbersTableView setHidden:true]; [self.numbersTableView registerClass:[AZGCountryCell class] forCellReuseIdentifier:@”NumbersTableViewCell”]; [self.view addSubview:self.numbersTableView]; For the prototype cell I want to use a […]

By Arash Etemad
Published
Categorised as ios, objective-c, storyboard, uitableview

How to setup constraints so a view’s width is 0 if it can’t be at least a certain width

I’m trying to create a launch screen storyboard (so no code) with a somewhat complicated layout. The problem is that I need two views shown side by side (kind of like a split view controller). Here are the requirements: The left view’s width should be half the width of the right view. In other words, […]

By rmaddy
Published
Categorised as autolayout, constraints, ios, storyboard

iOS 8: Launch Screen StoryBoard appears black [single XIB file works fine]

So I tried creating a launch storyboard for my iOS 8 app using this tutorial However, I only get a black screen when I launch my app. A single launch screen.xib file works perfectly, however, when I try to use a storyboard, it doesn’t work. I tried a storyboard with just a single view controller, […]

By Darvish Kamalia
Published
Categorised as ios, storyboard, swift, xcode

Does Both Referencing an Asset Catalogue and Including it from a Framework Create Duplication?

As discussed here & here, the only apparent way to host re-usable images in a Framework’s .xcassets file, then use those images in the storyboard / XIB of an app, is to manually create a reference to that catalog file directly within the app’s project. This puts the assets within the app’s main bundle, and […]

By TheNeil
Published
Categorised as asset-catalog, frameworks, ios, storyboard, xcasset

Xcode 10 storyboard and info.plist git diff is not properly showing

Am facing a strange issue on my Xcode 10. When ever I get conflict on storyboard or plist Xcode does not showing me the proper way to resolve conflicts. See the screenshot which is an example of storyboard case. If I get the conflict on plist file, then I can’t even open it (Xcode saying […]

By Ajumal
Published
Categorised as git, ios, plist, storyboard, xcode

How to change Navigation Bar color in iOS 7?

How do I change the Navigation Bar color in iOS 7? Basically I want to achieve something like the Twitter Nav Bar (updated Twitter for iOS7 that is). I embedded-in a nav bar atop a view controller. All I want is to change the nav bar color to light blue along with the utility bar […]

By Patricio Guerra
Published
Categorised as ios, ios7, storyboard, uikit, uinavigationbar Tagged , , , ,

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq