Cells disappear when connecting to custom class

I have a static cell UITableViewController in a UINavigationController in a UITabBarController. When I create a custom class for UITableViewController and set it, all cells in UITableView disappear after build. I can see them in designer but not in...
more »

2017-09-10 20:09 (1) Answers

Custom Navigation Bar not rectangular

Is it possible to customize the Navigation Bar to look like the picture below? Obviously that has a transparent background not a grey one. I've tried: UINavigationBar.appearance().setBackgroundImage(UIImage(named:"pattern.png"), ...
more »

2017-07-27 19:07 (2) Answers

Add a back bar Button between view controllers

I have the following problem. I have the following VC structure NC-> A->B-->C-->D-->E->F Where NC is my navigation controller directly connected (->) with the VC A, which is also directly connected with VC B. Depending on a parameter by tapping on...
more »

2017-07-07 14:07 (1) Answers

Wrong position of rightBarButtonItem in iOS 10

I want to put the view of a UINavigationController into another view controller's view. The problem is that the right bar button is misplaced on iOS 10. On iOS 8 and 9 it looks good. iOS 8 and 9: iOS 10: Here's the code how i add the navigatio...
more »

2017-07-04 14:07 (2) Answers

Complex navigation stack in Swift

I have a complex navigation problem that I was hoping someone may be able to give me some insight as to the best way to approach this problem. I've been Googling and have found multiple different suggestions for similar problems, but none of them se...
more »

2017-06-29 23:06 (0) Answers

UINavigationControllerDelegate method called twice

I have set up a very simple project with no storyboard, one window and one UINavigationController containing a plain old UIViewController as rootViewController. In the AppDelegate I've set the UINavigationController's delegate to self and implemente...
more »

2017-05-16 18:05 (0) Answers

Using UITabBar and UINavigationBar

I'm facing problem with using UITabBar and UINavigationBar at the same time. My intention is to have tabBar displaying my 3 tabs and navBar on each of these tabs displaying custom name and on some of these tabs additionally displaying some buttons (s...
more »

2017-04-01 10:04 (2) Answers

pushViewController takes too long on Ipad

I have an annoying problem. I use Navigation Controller to switch the View Controllers. On my iPhone is going ok, but when i test on iPad it takes too much time(3-4 seconds) to push to second view controller. In first View Controller dispatch_asyn...
more »

2017-03-06 18:03 (0) Answers

Dark grey Navigation bar in storyboard

I have a navigation bar in my storyboard and usually when you add a navigation controller to a view controller you get a nice cream navigation bar like this: Instead of this however, I get a weird dark grey colour like so: My question is how can...
more »

2017-01-17 01:01 (1) Answers