12,403 questions
0
votes
0
answers
16
views
LaunchScreen storyboard safe area is different with the app's
I want to recreate the first page of the app for the launch screen, and unfortunately, it can be done only using Storyboard, but strangely, the Storyboard seems to have a different safe area with ...
359
votes
10
answers
357k
views
How to pass prepareForSegue: an object
I have many annotations in a mapview (with rightCalloutAccessory buttons). The button will perform a segue from this mapview to a tableview. I want to pass the tableview a different object (that ...
4
votes
2
answers
1k
views
Navigation item title hidden when using large title in iOS26
After updating my app for iOS 26, the navigation item title stopped working when using large title and scrolling. Before the update, the large title was shown and when scrolled up, the normal small ...
43
votes
24
answers
54k
views
iOS Xcode LaunchScreen Storyboard not displaying
I'm trying to use Xcode's LaunchScreen storyboard as my launch screen? All the questions that have previously been asked about this refer back to the old launch image or .xib method - trying to do it ...
0
votes
2
answers
1k
views
Main.storyboard is pitch black
I've been coding in Xcode for a long time but I've never used the storyboard. When I opened it up I got this pitch-black.
Does any one know how to fix this ?
5
votes
1
answer
6k
views
Storyboard segue to multiple views
I am setting up a bunch of view controllers in my storyboard and have a 'Next' button.
I need this to segue to two different view, however my storyboard won't allow it. For example if certain criteria ...
1
vote
3
answers
706
views
How to fix "Thread 1: Exception: "Could not find a storyboard named 'Main' in bundle NSBundle" error in Xcode 11.4 when I do not have Main storyboard?
I know there are many questions here relating to this error but none of them quite fit my situation. I have made an Xcode project trying to create a star rating UIView with CocoaPods and Cosmos. I am ...
57
votes
21
answers
43k
views
Xcode custom fonts not showing up in Storyboard
Custom fonts are not being shown in the Storyboard.
Usually they were shown at the top of the custom fonts list.
I did the steps below:
I added my two fonts to my project folder:
I added them to info....
3
votes
1
answer
199
views
Why is my iOS app build working on a real device, but crashing on a simulator?
I am trying to test a feature that requires me to simulate my location which is not possible on a real device as far as I know. This is why I now need to build my app, that has been working for many ...
0
votes
1
answer
44
views
Get image to actually tile in storyboard same as it does for SwiftUI [duplicate]
So I have this code in SwiftUI, it's working great.
.background(
Image("felt")
.resizable(resizingMode: .tile)
...
3
votes
3
answers
357
views
Intermittent "internal error" with multiple XIBs in Xcode 26.0 beta 2 (17A5241o)
On several different XIBs I get a compiler error like
Internal error. Please file a bug at feedbackassistant.apple.com and attach "/var/folders/1v/ 516am8h11fzbmdy9sh r1znh0000an/T/|B-adent-...
4
votes
1
answer
2k
views
Connecting outlets for custom UITableViewCell's in Xcode 4 for iOS 5
In Xcode 4 for building iOS 5 apps, I can create custom UITableViewCells. I have created a subclass of UITableViewCell and created a prototype cell. I have assigned the subclass to that prototype cell....
128
votes
17
answers
27k
views
How to use single storyboard uiviewcontroller for multiple subclass
Let say I have a storyboard that contains UINavigationController as initial view controller. Its root view controller is subclass of UITableViewController, which is BasicViewController. It has ...
10
votes
1
answer
2k
views
Storyboard only shown in XML
All of the sudden my .storyboard file for my project only is shown in XML.
I am well aware of the "right click" -> "Open As" -> "Storyboard" option, however this does not appear. It only displays "...
-1
votes
1
answer
148
views
How to fix Navigation Bar shifted down in Storyboard
I haven’t opened my iOS project in a while. It was built using a storyboard and most view controllers are embedded in a UINavigationController.
Today I opened the project in Xcode (latest version), ...
14
votes
8
answers
9k
views
Xcode 8.1 storyboard showing blue lines only
I installed Xcode 8.1 and the storyboard shows only blue lines, for all UI elements. If someone has figured it out let me know. I am unable to revert it to even Xcode 8.0.
0
votes
4
answers
1k
views
Screen turns black after opening storyboard in Xcode 5.1.1
I'm using a simple storyboard in my iOS 7 iPhone-project, containing only one UIViewController and GLKViewController embedded in one navigation controller. When i try to open the storyboard as ...
6
votes
3
answers
2k
views
Xcode 12 - Storyboard screens showing up empty/black (using m1 macbook)
We have tried both iOS 14 and 13. In both cases, the storyboard screens show up like this.
Has anyone else faced this issue and was able to solve it? Or should we revert back to xcode 11 or 10 in ...
53
votes
4
answers
150k
views
got Can't resolve 'react/jsx-runtime' error while use try to create the shared component with storybook in react-typescript
I tried to create a shared component using a storybook with react-redux. I am using rollup to create a shared component. due to some error unable to create the shared component.
package.json
{
"...
1
vote
4
answers
1k
views
Xcode does not detect custom font
I added custom font in xcode, target membership is checked but it does not seen in custom fonts menu.
target membership
location
info.plist
copy bundle resources
6
votes
1
answer
7k
views
Set an image as background for TableView with Storyboard in iOS
Storyboard is causing to me a lot of problems! :(
Now I'm trying to put an image as a background of a tableview in iOS.
I've done a png image with transparency in photoshop and I've imported it into ...
0
votes
0
answers
56
views
Issue with Screen Transition Animation Not Playing Before Screen Change in Crank Storyboard
I am trying to implement a screen transition effect in Crank Storyboard using Lua. The goal is to play an animation first and then switch to the target screen. However, when I run my script, the ...
24
votes
6
answers
10k
views
Content inset not working Storyboard Xcode8
Recently I have updated Xcode 7.3 to 8. While opening the project the project settings also have been updated for new Xcode.
Now the insets given for a button image for positioning the image inside ...
-2
votes
2
answers
502
views
Xcode 16 Storyboard Constraints Installed with Size Class Not Applying
When using storyboards and adding constraints that are installed with Size Class wR hR, the proper constraints are not being applied when building on iPad Simulator or real device. Only the ...
2
votes
2
answers
3k
views
Youtube storyboard script - bigger thumbnail?
http://www.labnol.org/internet/print-youtube-video/28217/
javascript:(function(){a=ytplayer.config.args.storyboard_spec;if(!a){alert("Sorry we cannot process this YouTube video. Could you please try ...
-1
votes
1
answer
80
views
Storyboard Button: change font size AND round corners
How can we change the font size AND round corners of a button on a storyboard?
Button of style "gray" has a default value of rounded corners.
That is good.
But style "gray" DOES ...
2
votes
0
answers
46
views
How to prevent animation from playing on control load?
Imagine a WPF control that has a trigger in which its EnterAction/ExitActions have a Storyboard inside.
In my case it's an Expander which animates the expand/collapse action based on the IsExpanded ...
1
vote
1
answer
40
views
UITabBarController Head and Body Layout [closed]
Maybe there isn't a way. I'm pretty sure there is a way to customize the UITabBarController layout to work.
My question is about having a header and body in UITabBarController. I have the following ...
0
votes
2
answers
637
views
iOS - Pushing to a View Controller that is not in the Storyboard
I have a table view in my root view controller which we'll call "HomeViewController". In that table view each cell tap will push a different view controller. This collection of view ...
0
votes
3
answers
1k
views
Can you have two Segues from different View Controllers going to one View Controller Swift 3
I am currently trying to send myslideMenuVC to my ProfileVC upon tapping a cell. I go to instantiate the ProfileVC with a storyboard identifier, but I already have a segue to this view controller from ...
9
votes
10
answers
7k
views
XCode no valid compiled storyboard at path
I've got a universal XCode Project (ObjC) for iPad and iPhone with a subproject that contains a storyboard.
The subproject is a static library that has been added to the main project. Included in this ...
1
vote
1
answer
85
views
Xcode storyboard view layouts are suddenly broken after a LaunchScreen is added
Xcode storyboard views are suddenly broken.
How can I undo this change?
My app has been developed from old age, more than 10 years ago.
The Xcode project file comes from this era.
My app has tab ...
1
vote
0
answers
44
views
WPF animation drawing performance when collapsed
I have a loading indicator that looks like this:
Now I made it spin using a storyboard and it works fine. As far as I understood the animation in WPF, once the visual is collapsed/hidden the ...
-2
votes
1
answer
92
views
Storyboard navigation bar title text attributes, Title Font not working
In Xcode 16 (16.2 at the moment) I'm unable to set the title text attributes Title Font for a navigation controller's navigation bar. If I pop down the little popover for the title text attributes ...
0
votes
1
answer
100
views
Can't open Storyboard after migrating from Xamarin.iOS to .NET for iOS
I recently migrated my Xamarin.iOS project to .NET for iOS. Everything went fine so far. Now I'm realizing that I'm not able to work with storyboards anymore.
Before the migration I was working with ...
-2
votes
1
answer
83
views
ScrollView does not show content beyond the initially visible screen in iOS
I’m working on a UI layout with a ScrollView and a ContentView inside it. When the app is launched, the ContentView displays only the content that fits on the screen initially. However, when I try to ...
0
votes
1
answer
67
views
Insert View Programmatically in storyboard designed Stackview in Swift iOS
I have created a stackview in storyboard which is having three buttons and I want to insert a separator in between all these three buttons, so I have created a separator blank view programmatically ...
3
votes
0
answers
327
views
Integrating iOS Swift Screen into Compose Multiplatform Project
I'm currently working on integrating an iOS Swift screen into a Compose Multiplatform project.
Does anyone have experience with this or any tips on the best approach to achieve it?
I need to invoke a ...
13
votes
3
answers
5k
views
Splash screen orientation lock
Can we have the orientation locked for splash screen in potrait for the app that supports all orientations?Currenly when I launch the app while device is landscape makes the splash screen looking ...
0
votes
0
answers
80
views
Xcode storyboard - RTL icons not works
In my iOS project I have two languages, English and Arabic.
Problem:
For Arabic it will switch to RTL, but back icon we should use different icon for RTL.
From the image, I changed direction from ...
-1
votes
1
answer
152
views
How to scale the title and image of a UIButton to match the size of the button?
I have a UIButton with both a title and an image. The button's size changes dynamically, but the title text and image inside the button do not resize proportionally to match the button's size. I want ...
0
votes
1
answer
77
views
viewDidAppear Not allowing me to edit IBOutlets [duplicate]
Hi I am very new to swift coding and attempting to make a fake progress bar with the UIProgressView.
I have code in a viewDidAppear so that once the view controller appears it starts but none of the ...
0
votes
2
answers
905
views
CollectionVIew not rendering cell when collection count is 1
I am facing a challenge where my UICollectionView does not show an item when the collection count is 1. More specifically, it flashes briefly when calling reloadSections or does not show at all when ...
5
votes
5
answers
3k
views
Lauchscreen.storyboard landscape splashscreen
I am using lauchscreen.storyboard for splashscreen in my iOS application. I have added splashscreen image in the storyboard. When app is lauchning, portrait splashscreen is coming correctly. But, when ...
52
votes
8
answers
40k
views
UIPageViewController and storyboard
I'm trying to configure a UIPageViewController SPECIFICALLY from storyboard:
TutorialPageViewController.h
#import <UIKit/UIKit.h>
@interface TutorialPageViewController : UIPageViewController &...
1
vote
3
answers
2k
views
Redirect after login to a tab bar controller
in a project, I have a login system. If the login is accepted I put this piece of code to redirect to the first page.
let okAction = UIAlertAction(title: "Ok", style: UIAlertActionStyle.default){ ...
6
votes
3
answers
8k
views
How do I recover a storyboard in xcode?
I have a little bit of a situation here. A few days ago, I accidentally deleted my storyboard, so immediately went into my trash and dragged the storyboard back into the project. Everything worked ...
15
votes
6
answers
6k
views
Swift Package Manager - Storyboard bundle
I'm trying to add support for SPM in one of our projects that has storyboards.
Currently we grab it UIStoryboard(name: String, bundle: String?) but this doesn't seem to work with SPM, as there isn't ...
0
votes
0
answers
28
views
UIImageView state isHighlighted set to true in storyboard but when view is loaded, is set to false [duplicate]
In my storyboard, I created a UIImageView with an image and a highlighted image. I checked the State Highlighted box and the storyboard correctly shows that UIImageView with the highlighted image.
...
0
votes
1
answer
117
views
R.swift doesn't generate resources for xibs and storyboards in SPM
I need to transfer all resources to SPM. Strings and assets of images are fine, but xibs and storyboards are a problem. At the same time, information about them appears in the R.generated file in the ...