Questions tagged [uinavigationcontroller]

The UINavigationController class implements a specialized iOS view controller that manages the navigation of hierarchical content.

This class is not intended for subclassing. Instead, you use instances of it as-is in situations where you want your application’s user interface to reflect the hierarchical nature of your content. This navigation interface makes it possible to present your data efficiently and also makes it easier for the user to navigate that content.

The screens presented by a navigation interface typically mimic the hierarchical organization of your data. At each level of the hierarchy, you provide an appropriate screen (managed by a custom view controller) to display the content at that level.

Sample of use

References:

UINavigationController Class Reference

11391 questions
3
votes
3 answers

Display tableView under status bar

I'm trying to display my UITableView's content under the status bar upon app launch (it can be achieved now by scrolling). This is my current result: But I'd like it to appear like this: I've set these attributes for the…
Erik
  • 2,500
  • 6
  • 28
  • 49
3
votes
1 answer

CNContactViewController - Edit button not showing up

I'm currently working on a Swift app and I want the user to be able to edit a contact that they created earlier in the app. That being said, I'm using the CNContactViewController(forContact: CNContact) init function to create the view controller. …
3
votes
1 answer

Anyway to remove fade when using CATransition between 2 views?

What I'm trying to do is push in from the left side with a custom animation using CATransitions. In my normal code I want to use duration of 0.3, but in the example below I'm using 6.0 just so I can see the actual problem during the transition. …
Drew S.
  • 516
  • 4
  • 19
3
votes
1 answer

self.navigationController is always nil

UI flow: AppDelegate --> LoginViewController (not in the storyboard) --> navigation controller (in the storyboard) --> PFQueryTableViewController (in the storyboard) named "OrdersVC" This is the navigation controller with OrdersVC: This is my…
ppp
  • 713
  • 1
  • 8
  • 23
3
votes
2 answers

Stop navigation from navigation controller swift

i have a navigation controller from login page, and after login successful, i would like to dismiss the navigation which mean user are not allow to go back to the login page once login successful. I have tried to create another storyboard and…
wes. i
  • 627
  • 9
  • 26
3
votes
2 answers

How to show view controller with TabBarController navigation from push notification

(reposting due to initial wrong title) When users receive a push notification for our app (and they tap on it), the app should open up a details screen. From a navigation perspective, the app usually has this structure anytime the user opens…
Luis Delgado
  • 3,644
  • 4
  • 34
  • 54
3
votes
5 answers

Navigating to ViewController containing ScrollView Going too Slow

This is how am pushing from ViewController A to ViewController B UIStoryboard *mainStory = [UIStoryboard storyboardWithName:@"Main" bundle:nil]; ListingViewController *listView = [mainStory…
3
votes
1 answer

Change pop-over contentsize using navigationcontroller

I want to show a popover with a custom contentsize. I can do it doing like so UINavigationController* popoverContent = [[UINavigationController alloc] init]; UIView* popoverView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 800, 800)]; …
3
votes
2 answers

Dismissing a UINavigationController and Presenting another UINavigationController

I have a two view controllers, ViewControllerA and ViewControllerB, embedded in a UINavigationController. ViewControllerA has a UICollectionView that displays images. When the camera icon located at index 0 and the UICollectionViewCell is selected,…
user3994005
3
votes
1 answer

UINavigationController: Determine if Back button was pressed or popViewControllerAnimated

In UINavigationController, is there a way to button if the current viewcontroller is being dismissed as a result of the user pressing the back button or if the view controller is being dismissed programmatically with popViewControllerAnimated? Note:…
Lneuner
  • 1,090
  • 1
  • 9
  • 19
3
votes
2 answers

UIScrollView dynamic status bar

I have a scroll view with 2 views in it: a UIImagePicker (Snapchat-style camera view), and a UITableView. The scroll view is inside of a navigation controller that the main viewController pushes to. I want the status bar and everything on it (time,…
3
votes
0 answers

show specific viewcontroller only in landscape, but support iPad multitasking features

I´m developing an application for iPad & iPhone. The App is supporting on iPad all Orientations, because of Multitaskingfeatures. On iPhone my App is supporting only Portrait. For one Specific ViewController I want on both devices to support only…
3
votes
2 answers

Wrong UISearchBar touches area

Summary I've got wrong UISearchBar touch area after pushing view controller with status bar from view controller without it. Explanation I have two view controllers A and B inside UINavigationController. A hides status bar with following code: -…
Leo
  • 3,003
  • 5
  • 38
  • 61
3
votes
2 answers

Set initial viewController in Navigation controller programmatically (Layer SDK)

I want to add Layer SDK to my application (using Swift). All view controllers here are created programmatically. Therefore I can't segue to them. I have 4 tabs in my application (UITabBarController). One of them is chat. In the chat tab I created a…
Nishant Dongare
  • 549
  • 3
  • 16
3
votes
5 answers

Grey bar appearing under Navigation bar after segues Swift

A grey bar exactly the size of my navigation bar + status bar appears under my navigation bar when I segue to the specific VC. In another VC the grey bar isn't there unless I open Youtube then use the iOS 9 "back to 'App'" button. Here is what it…
Wesley Cho
  • 495
  • 8
  • 23
1 2 3
99
100