I have a lot of Nagivation Items in my storyboard and I have this warning
Plain Style unsupported in a Navigation Item
Any idea how can I find out which Navigation Item is the source of this warning in the storyboard? Thanks!
Related
After updating Xcode I see the message in console:
[Assert] UINavigationBar decoded as unlocked for UINavigationController, or navigationBar delegate set up incorrectly. Inconsistent configuration may cause problems.
And all the data I have in the Navigation Controller scenes are not displays.
I tried to place this to the SceneDelegate, but it wasn't helpful:
self.window?.rootViewController = navigationVC
self.window?.makeKeyAndVisible()
What should I do to fix this?
I'm working on this bug too. I will update here if there is any progress. I'm also facing another exception:
_UINavigationBarContentViewLayout valueForUndefinedKey:
this class is not key value coding-compliant for the key inlineTitleView.
It should be a bug in iOS 16, not related to the Xcode version.
There are many others who have also encountered this problem: https://developer.apple.com/forums/thread/714278
A temporary solution is to use code rather than storyboards to create the navigation controller.
I also find that problem.
How I fix it
If you use storyboards.
Take the arrow( in Attribute inspector-> is initial view controller) from Navigation View Controller in the storyboard and put it in your next View Controller.
Simplify change, initial view controller, in storyboard
Restart Your Mac
And remove unnecessary functions on main class
I am using SERevealViewController with swift , after I made a segue from a button on the sidebar menu to another Viewcontroller and set the Segue Class to the SWRevealViewControllerSeguePushController I got a warning that said
Only Custom segues support class name prior to iOS 9.0
any help to bypass this warning ?
I've designed my iPhone app in Photoshop and now I have all the PNG files of my project.
I have Xcode 4.2 and iOS 5. What I would like to do is to customize the tab bar of my app. I've done the things on storyboard, but I do not know how to implement the PNG tab bar in the storyboard. I've written the source code of the customized tab bar, but when I run it in the simulator it doesn't display the ViewController which IS already done on the StoryBord.
So, the question is: how to attach the new tab bar design with Xcode Storyboard?
If you've subclassed the UITabBar and written code to customize it, you'll need to set the tab bar's class to your subclass in the identity inspector. Click the tab bar in your storyboard and set it's class:
Then it should begin using your custom code.
I am having a problem in Xcode 4 where I have a tab bar controller and two nib files - one being the main window and the other being an other view - and when i try to make a tab view load from the other nib, Xcode 4 doesn't see the other nib. When the menu that should allow you to select a view comes down, nothing shows up...
UPDATE: My wording is very confusing. in the atributes tap, the drop down menu "nib name" isn't getting populated with my nib files.
HELP!
Picture: http://imageshack.us/photo/my-images/852/screenshot20110513at224.png/
Yes, this is broken in XCode 4 (now at 4.02). The dropdown will not populate, even if the nib in question is added to the relevant target. It is very likely that somebody at Apple forgot to make a connection inside a NIB somewhere, so IB is calling methods on a nil.
Try typing in the nib name without the .xib.
For example if your nib is called DetailViewController.xib, type in DetailViewController.
Have you tried just typing the name of the Nib file into that field?
It'a s simple app, window based.
The window has a UINavigation Controller, and the Controller has a UITableView built from
New File-UIViewController subclass- UITableViewController option check.
I set the style for the UITableView to Grouped in the Interface Builder, but the table stayed Plain in the Simulator.
I wonder if I missed any options?
XCode 3.2.6
iOS SDK 4.3
Any help is appreci
Project download: Zip File#Google Docs 692k
tViewController is a subclass of UITableViewController so it's creating a tableView for you and ignoring yours. Change the superclass of tViewController to UIViewController and it will use the tableView you have defined in IB.
Make sure you've properly specified the nib file (remember: iOS is case sensitive) for the controller and connected the table in the nib to File's Owner. Otherwise, the controller will create its own table, which is probably what's happening.