Tagged Questions
0
votes
0answers
7 views
uinavigation controller delegate not work with MFSideMenu
I have an app with an "old" Tabbarcontroller and a MainWindow.xib. I have to delete the tabbarcontroller logic to transform the app and made a "Left side menu" type, like facebook. I have a problem, i ...
0
votes
1answer
40 views
UIBackButton Background Image not appearing
i'm having a problem with my UIBackbutton not appearing and i'm not sure what is causing it.
This is my code for making the back button image, it is in my first ViewController :
UIImage ...
0
votes
1answer
37 views
UIBarButtonItem not showing image
I'm having a problem with my navigation bar. The issue is that I'm trying to overwride the LeftBarButtonItem that the NavigationBar has from the super viewController like this:
"Super ViewController"
...
2
votes
1answer
67 views
navigation controller bar is cutting off
If hiding the status bar by choosing status bar style = hide during application launch and I am customizing uinavigation bar like the following
[[UINavigationBar appearance] ...
3
votes
2answers
57 views
Add a button next to the back button
in iOS, is it possible to add a button next to the default back button (the one that is automatically created when you use the method pushViewController)
I've tried to use the methods ...
0
votes
1answer
23 views
iOS - Keep background animation across view controllers
I'm using a basic UINavigationController design for the settings pages of an app. Each settings page is its own view controller (with xib), and each page has the same background image.
I've since ...
-1
votes
2answers
20 views
pop to TableViewController from Detail Controller
I have a ViewController1 which can do a push segue into a ViewController2. This, in turn, can do a push segue into a ViewController3. I have a UIBarButtonItem in the ViewController1 that can do a push ...
0
votes
2answers
14 views
removeFromParentViewController doesnot update UINavigationbar
I want to remove all the viewcontrollers from UINavigationController. So I am using this code.
for (UIViewController* controller in navigationController.viewControllers) {
[controller ...
1
vote
3answers
32 views
Calling poptoviewcontroller function from a viewcontroller
Let me explain clearly.
I have a tabbarcontoller in the viewcontroller which is the main view controller of the single view application project.
I added a tabbarcontroller to the viewcontroller as ...
0
votes
0answers
44 views
UIPopoverController resizes popover and content-viewcontroller(uinavigationcontroller) at differently fast
So here's my problem.
I want to present a popover from a navigationbarbutton(works fine).
The contentviewcontroller of the popover is a UINavigationController with a UITableViewController as it's ...
0
votes
1answer
49 views
Pushing a view to a UINavigationController that's not in the same view hierarchy
I have two table views set out. One shows a list of items, say recipe names. The other shows recipe names with descriptions and images. The one with the more detailed view is part of a navigation ...
1
vote
2answers
44 views
Push a detail view from mapView with a Navigation Controller
I have a tabbed application with one of the tabs being a map view. The user places a pin in a location and in the annotation callout there is a disclosure button. I want this button to push to a ...
0
votes
0answers
39 views
UINavigationBar becomes transparent after switching views in uitabbar
In the (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions method, I initialized an instance of UINavigationController with ...
0
votes
1answer
32 views
iOS: Default Back button Being Presented Over Custom Left Nav Button
I'm getting this, once I push the view using: [self.navigationController pushViewController:viewController animated:YES];
I have the code to create the left navigation button in viewWillAppear.
...
0
votes
0answers
36 views
Blank view for UIViewController pushed with button click
I'm trying to push a UIViewController on to my navigation stack using the following:
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"MainStoryboard_iPhone" bundle: nil];
...
0
votes
2answers
45 views
iOS - Popping UIViewController doesn't destroy its properties
When I pop a UIViewController instance off of my UINavigationController, I find that its properties remain (NSTimers keep timing, AVAudioPlayers keep playing, etc.). I'm wondering what's wrong with ...
1
vote
1answer
28 views
Presented UINavigationController tint color not changing
MyVC *vc = [[MyVC alloc] init];
vc.delegate = self;
UINavigationController *nc = [[UINavigationController alloc] initWithRootViewController:vc];
[nc.navigationBar setTintColor:[UIColor ...
0
votes
1answer
29 views
Navigate to a view thats within a navigation controller
I have a Tab Bar Controller which contains 4 views. 3 views are very basic. Just a tableview with data (Call one of these views SimpleTableView). The 4th view points to a Navigation Controller with ...
0
votes
2answers
20 views
UINavigationBar with ProgressView
I want to implement the progress view as shown in below image link, anyone know how to implement such a progressview in UINavigationBar.
https://dl.dropboxusercontent.com/u/80082840/y2NX8.png
Thanks ...
0
votes
1answer
21 views
ios UINavigationController in UIPopoverController and setPopoverContentSize error
I present a UINavigationController in a UIPopoverController. The UINavigationController has 2 UIViewControllers that have the same widths, but different heights. To make sure both UIViewControllers ...
0
votes
1answer
49 views
How to retain my nsstring when popping to another view controller
I am trying make an NSString retain its value in another view controller, and it works when I push to the viewcontroller controller. However when I use the apple's navigation back button ...
0
votes
1answer
30 views
MKMapView not filling view (iOS)
I am creating a view programmatically. The view is fairly simple as it only contains an MKMapView which I want to fill the screen (with the exception of the navigation bar at the top).
Here is what I ...
0
votes
1answer
64 views
UIActivity custom activityViewController crash on iPad
I have a custom UIActivity that I use in order to create a Contact to the device's AddressBook. In this UIActivity, I create an ABNewPersonViewController, put it inside a UINavigationController and ...
0
votes
2answers
39 views
Moving in UINavigationController to controller without NavigationBar
In my iOS app i got two UIViewControllers. I moving from one to another with UINavigationController. But first one with UINavigationBar, when in second i type in viewDidLoad:
...
0
votes
2answers
111 views
Delegates in iOS
I am a newbie to iOS world, so please ignore the obvious.
I am pushing a viewController(HelpViewController) on top of another viewController(MainViewController). When a particular action happens in ...
0
votes
0answers
24 views
EKEventEditViewController related with simpleEKDemo
I am kind of new to object c ,recently is study the sample code from the apple developer site :simpleEKDemo.
I want to customize the EKEventEditView and also see the related question of related ...
2
votes
1answer
51 views
NavigationController and Modal Views
I am a newbie to iOS world and have started building custom code on top of a templated code.
So excuse me for the obvious.
The View chain starts with a MainWindow.xib which contains a App Delegate ...
0
votes
1answer
67 views
iOS presented UINavigationController gets dismissed after it performs a popViewController
In my app i present a UINavigationController modally with a UIViewController as its rootViewController. I do it in form style. I added a second UIViewController which is also in form style and i can ...
1
vote
3answers
40 views
set frame viewcontrollers view in UINavigationController
I'm trying to change the frame of VC does not work. this is my code:
AZControlViewController *vc = [[AZControlViewController alloc] init];
vc.tableView.frame = CGRectMake(0, 195, 320, 500);
...
0
votes
2answers
44 views
UINavigation PushtoViewcontroller replaced with addsubview
I was previously doing this
[self.navigationController pushViewController:OBJ animated:YES];
But now I replaced this with
[self.view addSubview:OBJ.view];
so the layout is changed for iPhone4 ...
0
votes
0answers
22 views
Navigation Controller in detailViewcontroller While sending Data
I am sending Data from split view controller to detail view controller.. and the detail view controller also continues to be in a chain of view controllers.
wat i want is put a navigation controller ...
0
votes
1answer
46 views
How should I setup this “drawer” view app?
I am using a framework MMDrawerController which has been awesome. I am just trying to structure my code well. I have just the left side nav. And I have it setup like this right now:
...
3
votes
1answer
39 views
Best way to use navigation controller for uipopoverview
I want to push to another view from a popoverview. For that purpose I had a taken navigation controller to that popover. And also its working fine.
The problem occurs in the second view. To allow the ...
1
vote
4answers
86 views
crash when popping view controller
I'm seeing a weird crash when I call [self.navigationController popViewControllerAnimated:YES]; in a delegate callback after selecting an item from a table view. No trace is printed to the console in ...
0
votes
2answers
43 views
Issue with adding buttons to UINavigationController
So this is how I make the navbar:
- (void)viewDidLoad
{
[super viewDidLoad];
UINavigationController *navBar = [[UINavigationController alloc] init];
[navBar ...
0
votes
3answers
30 views
Adding Popover to current Navigation Controller heirarchy
I've seen a lot of other questions on here about adding a UINavigationBar to a UIPopoverController. All of the examples I've seen follow one of two patterns:
In the init or viewDidLoad method of ...
0
votes
1answer
55 views
Get storyboard-defined UINavigationController from AppDelegate
In storyboard, I have an introductory view controller which fades to a UINavigationController.
| | | |
-> | | -> | |
| | | |
ViewCtrl NavCtrl
...
1
vote
0answers
54 views
navigationController pop incorrect transition
I am presenting new viewController through navigationController with:
PTAgencyClients *pushedController = [[PTAgencyClients alloc] initWithNibName:@"PTAgencyClients"
...
1
vote
1answer
31 views
Navigation Bar BackButton doesn't work perfectly
I have a "FairListViewController". This is the first ViewController. Here by touching a tableCell, i can go to next which is "MenuViewController". And there are two Button, "Product" for ...
0
votes
1answer
32 views
How not to load the view in some cases?
I have a methods
- (void)viewDidAppear:(BOOL)animated
{
[self updateViews];
}
- (void) updateViews
{
NSInteger itemIndex = [[DataController sharedInstance] ...
0
votes
2answers
62 views
How to exit from UITabBarController to UINavigationController on button click
I have a MainMenu which navigates me to a TabBarController with 4 views (4 Tabs) in it.
Now I've a button in the 4th view of the TabBarController which OnClick should take me to the MainMenu.
...
0
votes
1answer
72 views
Dismiss a modal viewController with push/pop aniamtion in iOS
when presenting:
CATransition *animation=[CATransition animation];
animation.delegate=self;
animation.duration=0.3;
animation.type=kCATransitionMoveIn;
animation.subtype=kCATransitionFromRight;
...
1
vote
0answers
76 views
App is Crashing when clicking UINavigation back button ios?
When i tried to click one button it moved to next UIViewcontroller and from there i click back button and it came back to the previous UIViewcontroller ,suddently it crashed.
Following are the crash ...
0
votes
3answers
60 views
uitabbarcontroller not showing on other uiviewcontroller
My app has a first page containing a UITabBarController and tabBar.
But when I pushViewController to UINavigationController , my UITabBarController is not showing.
appdelegate:
self.window = ...
2
votes
1answer
75 views
Content pushed down in a UIPageViewController with UINavigationController
UPDATE 2
I've been running and testing my app in the iOS Simulator using a 4-inch device. If I run using a 3.5-inch device the label doesn't jump. In my .xib, under Simulated Metrics, I have it set ...
0
votes
1answer
36 views
popToRootViewControllerAnimated from NSobject class giving errors
I am trying to pop all the views from my navigation stack if their is an error. the error code is in a NSObject class so I dont have access to the navigationcontroller. THis is the code I have tried
...
0
votes
2answers
40 views
Recreate viewController in Navigation stack
I have a certain situation I would like to solve:
I have a UIViewController that loads. On a certain condition, I choose to show a new UIViewController on top of it in a navigation stack. After that, ...
0
votes
0answers
16 views
UINavBarController connecting the same UIViewController to multiple navigation controllers
I have a storyboarded app with a chain of tableviews followed by a detail view. Kind of the classic iPhone app. There are 4 tabs and each one leads to a navigation controller.
The issue is I really ...
1
vote
0answers
65 views
How to add UIBarbuttonitem different on navigationbar in each tabbar item iOS
I push Viewcontroller (viewcontroller 1) that including uitabbarcontroller has 3 viewcontroller (tabitem 1, tabitem 2, tabitem 3) .Now i want in each tabbaritem has different UIBarbuttonitem on ...
0
votes
1answer
28 views
how do I set the orientation of a UIWindow with UINavigation
I'm adding the following code to my application in order to navigate back and forth from a quicklook view.
window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
[self ...