Questions tagged [navigationcontroller]

A Controller in a MVC (Model View Controller) pattern provides the execution flow of the application. NavigationController is about this flow.

A Controller in a MVC (Model View Controller) pattern provides the execution flow of the application. NagigationController is about this flow in a technology that can apply the MVC pattern.

507 questions
2
votes
0 answers

iOS - navigation controller don't delete view controller from stack

in my program i create a list of Item in a view. When I click on a particular item, i open another view for see the information relative to the item. But when I come back to the previous view, the navigation controller don't delete the view from the…
2
votes
3 answers

Keep elements in Navigation Controller when segueing on iOS

I am working on an app that displays a list of places. There is a NavigationController, and in the navigation bar I have some UIBarButtonItem (left and right), and the center section is a custom view with a label and two UIButton's. The map button…
The dude
  • 7,896
  • 1
  • 25
  • 50
2
votes
1 answer

Flipboard ipad app: right menu panel slide effect

how to implement right panel slide effect like following picture? when click left area, the right panel is hidden. picture url http://cdn.thenextweb.com/wp-content/blogs.dir/1/files/2012/02/photo.png I think it is not popover controller. is it a…
Tomson
  • 163
  • 2
  • 9
2
votes
1 answer

How to reload or refresh data in tab bars in tab bar controllers with new data?

I have 3 tabs with tab bar controllers. All the 3 view controllers in the tab bar have navigation controllers to go to other view controllers on their own. One of the view controllers in the tab bar is with the map and map annotations(map view…
1
vote
1 answer

Forcing a change in orientation when switching between tabs. (objective c)

so i'm testing this so i can use it on my bigger project. I have A tabbarcontroller named TabBar this TabBar has 2 tabs every tab has a navigationcontroller. A viewController with a button (OkButtonViewController) when you click this button you go…
1
vote
3 answers

I can came back to first navigation control page with a button?

-(IBAction) btnReturn:(id) sender{ firstView * firstview =[[firstView alloc]initWithNibName:@"firstView" bundle:nil]; [self.view pushViewController:firstview animated:NO]; } with the previsly code I see the first view but the…
doxsi
  • 1,002
  • 19
  • 42
1
vote
1 answer

change image background in a moreNavigationController navigationBar ios 5

this is the appdelegate: UINavigationController *moreController = _tbc.moreNavigationController; moreController.navigationBar.tintColor = [UIColor blackColor]; UIImage *image = [UIImage imageNamed:@"navBar.png"]; [image…
LuZa
  • 450
  • 1
  • 6
  • 27
1
vote
2 answers

ViewController never gets deallocated

In my mind, myViewController should be deallocated around the time that I pop back to the root view controller with the following code, but I never see the deallocation message getting NSLogged. If this should work, then what kind of problem can I…
JaySmith02
  • 11
  • 1
  • 4
1
vote
1 answer

Change visibility of backButton dynamically in UINavigationBar

I have a view that is doing some calculations and I want to hide the backButton during this time. I use this to open a new controller that has a back button and a cancel button: [self.navigationController pushViewController:calcController…
Daniel Brown
  • 1,134
  • 1
  • 13
  • 27
1
vote
1 answer

Not entering the function -navigationController:willShowViewController:animated:

I've been struggling with this problem for some days. I've been trying to have a persistent RightBarButtonItem in several views. By researching on several blogs and web searches, it turned out that I need to set my rightBarButtonItem in the function…
Lily
  • 387
  • 4
  • 18
1
vote
1 answer

Memory leak in Pushing view controller

In Instrument-Leaks, the following code increasing Allocation memory always, when ever i am pushing PhotosObj .Releasing PhotosObj is not working. if (PhotosObj) { [PhotosObj release]; PhotosObj=nil; PhotosObj=[[Photos…
1
vote
1 answer

Is there any tut/e.g available to implement a u.i navigation tool similar to flipboard browser?

Does anyone knows a tutorial that could help me to build something similar to the browser of flipboard? Basically i would like to filter some contents from a DB in my app and I am specially interested to understand how their browser was implemented…
tiguero
  • 11,477
  • 5
  • 43
  • 61
1
vote
2 answers

self.navigationController.view is nil in iOS5 but not in iOS4

I've a weird problem. I'm using a navigationController and want to add a subview (a MBProgressHUD) to the navigationController.view. Everything is absolutely fine under iOS4. But if I switch WITH THE SAME PIECE OF CODE to iOS5 the app crashes…
andi1984
  • 676
  • 10
  • 27
1
vote
0 answers

NavigationController synchronizing execution of subviews with higher level view

I am using NavigationController to provide different views. In one case I want to use a ChildView to get some data from the user and return that data to the ParentView. The parent view uses the pushViewController method from within an (IBAction)…
VaughanR
  • 329
  • 2
  • 8
1
vote
1 answer

Navigation Stack should contain only ONE view

I have a Navigation Controller and a tableView with several Entries. If i select an Entry a new DetailViewController gets pushed. in the DetailViewController you can swipe right to push the DetailViewController of the next Entry of the tableView.…