Tagged Questions
0
votes
1answer
88 views
How to Subclass UINavigationController With a subview Custom Bottom Tab Bar
So I have a custom bottom tab bar that works if I add it as a subView to any of my views, but I would love for it to be part of the UINavigationController so I don't need to keep track of it in every ...
0
votes
0answers
34 views
UITableView in Tabbed App Crashing the Second time I go to the tab
I am getting the following error in my application:
'Unable to install constraint on view. Does the constraint reference something from outside the subtree of the view?'
I have been doing some ...
0
votes
1answer
95 views
How to add a view below UINavigationBar
Alright, there is a fine line between hacking too far into the deep abyss that is iOS private classes, and the crusade for the ultimate reusable code.
I want to have an arbitrary UIView, of about 40 ...
1
vote
2answers
63 views
How do i set a modal segue (programmatically) to a push segue
i have an navigation controller in my storyboard, but for one reason i have to make one segue programmatically, but how do i make a push segue programmatically?
this is my code so far:
- ...
2
votes
5answers
139 views
How to display second modal ViewController in UINavigationController programmatically
In one of my UINavigationController views user can press "add" button to select photo from the album using UIImagePickerController. When user will select desired photo I want to move him to ...
0
votes
2answers
50 views
navigational controller not passing data from tableview to viewcontroller
The code for Tableview :
-(void)tableView:(UITableView *)tableView didselectRowAtIndexPath:(NSIndexPath *)indexPath{
ViewControllerDisplayMsg *detail = [self.storyboard ...
0
votes
1answer
85 views
ios6 EXC_BAD_ACCESS(code=1, address=0x0) error
I am getting a EXC_BAD_ACCESS(code=1, address=0x0) error (the address equals is another not 0x0 but I assume a number related to my project).
This error occurs when going "back" to the main VC in a ...
0
votes
0answers
30 views
UINavigationController animates on push but not when tapping back button
I'm doing a storyboard segue when tapping a navigation bar button item, from view controller A to view controller B, and it works fine with a push animation. But when I tap the back button (no custom ...
0
votes
0answers
41 views
Storyboard and AppDelegate
just ask a little problem i think... I using this code to open a storyboard configured in this mode: Navigation Controller > TableView > DetailView
Here's the code:
- ...
0
votes
0answers
20 views
Going back using a NavigationController crashes when accessing the same ViewController
Below is the hierarchy in question.
The "ViewController - MyConnection" in the top left is my main ViewController. I implement a NavigationController system. From the main VC a user can go to the ...
0
votes
1answer
50 views
iOS 6 rotation issues with UINavigationcontroller from a XIB
I'm trying to allow some views to rotate in my app (just two), I've done this before successfully, subclassing UINavigationcontroller and overriding the corresponding methods. The problem this time is ...
1
vote
1answer
37 views
Best implementation for transitionWithView in Navigation Controller when the user tap BACK
I have 2 UIViewControllers inside a NavigationController.
The first one, A, has just an UISearchBar on top of a tableView, as the tableHeader.
The second one, B, has a view in the upper part of the ...
0
votes
1answer
182 views
How to handle UINavigationControllers and UITabBarControllers iOS 6.1
I need a good explanation how can I handle the UINavigationControllers and the UITabBarControllers on iOS6.1 with StoryBoards.
When I load my app (1st ViewController) I need if (FB login = success) ...
1
vote
1answer
58 views
Call a method upon going back within a NavigationController ios6
I have numerous ViewControllers within a NavigationController setup and was wondering if it's possible to run code when the user clicks "back".
Basically my app runs a test and I would like "back" to ...
0
votes
0answers
29 views
setViewControllers does not set the correct orientation based on the topViewController
I use a UINavigationController to present content in my app. I keep my controllers in a separate dictionary and, upon user interaction, I load the navigation controller with the proper ...
0
votes
0answers
67 views
presentModalViewController, ios 5, autorotate
I have an app that is built for iOS 5 ( no iOS 6 ) . I present a view using this method :
[self.view.window.rootViewController presentModalViewController:navController
...
0
votes
1answer
188 views
I have a UICollectionView and i want to show an image in a Cell, that goes to a normal ViewController. How do i do that?
I have a UICollectionViewController (with a navigation controller) and i want to show an image in a Cell that 'pushes' to a normal ViewController (different by every image). How do i do that?
0
votes
4answers
112 views
How to add an UINavigationController to an UIViewController presented as Modal
I have an alternative flow in my app. This flow starts in my firstViewController, then in this view a call my secondViewController like this:
- (IBAction)PressButton:(id)sender {
...
1
vote
2answers
121 views
How to add shadow to UINavigationController
I want to create a Slide Menu like in Path or Facebook with a shadow between my menu and the UINavigationController with all the content inside. I can add rounded corners to the layer but the shadow I ...
0
votes
2answers
61 views
UITableView under UINavigationBar after popViewControllerAnimated
After navigating 3 levels deep using UITableViews under a UINavigationController, finally presenting a UIViewController which calls:
[self.navigationController popViewControllerAnimated:YES];
I see ...
0
votes
1answer
26 views
My drop shadow repaints over itself?
I have subclassed an UINavigationController adding a drop shadow on method viewDidApper: from UINavigationController like this:
- (void)viewDidAppear:(BOOL)animated
{
// Add shadow to ...
0
votes
0answers
33 views
UITableView origin y changes while poping from second viewController to first viewController
I have a tableview on first ViewController and on the click of a particular row of tableview secondView Controller is pushed via navigationController and when i m doing pop i.e coming from secondView ...
0
votes
1answer
68 views
Change one viewcontroller to landscape only in ios6
I've found what appears to be the answer to my question here:
iOS 6: How do I restrict some views to portrait and allow others to rotate?
BUT i don't understand the answer. I'm confused as to where ...
1
vote
1answer
74 views
UINavigationBar jumps 20pixels during transitionFromViewController
In trying to attempt to use Apple's UIViewController containment I have encountered a problem with animating the transition between two UIViewControllers.
Here is the set up... I have created a ...
1
vote
2answers
86 views
how to change the UIBarButtonItem button design?
I am newbie for iPhone application.
What I have is as below.
UIBarButtonItem *flipButton = [[UIBarButtonItem alloc]
initWithTitle:@"Flip" ...
0
votes
0answers
109 views
Buttons on my custom UINavigationController are not working in iOS 6
I am using a custom UINavigationController in my application. Its working fine in iOS 5 but in iOS 6 it is not working. Even its delegate for button sender are not calling as when user click on any ...
0
votes
5answers
64 views
navigationcontroller title and button
In my tab based application delegate i added the navigation controller as like the following,
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
UIViewController ...
0
votes
1answer
219 views
UIRefreshControl - beginRefreshing not working when UITableViewController is inside UINavigationController
I've setup a UIRefreshControl in my UITableViewController (which is inside a UINavigationController) and it works as expected (i.e. pull down fires the correct event). However, if I programmatically ...
0
votes
6answers
113 views
Navigation bar button not showing
When try to add a navigation button on left and right side , its not showing?is this is the code i used for, Whats wrong with this?
this is how i added the navigation bar in in appdelegate,
...
0
votes
0answers
45 views
Strange behaviour for IOS 6 rotation
I have search the net and in the forum for two weeks. I couldn't find anything like my problem.
I have an app build on the IOS 3 and in time I made it compatible with all IOS versions.
All the app is ...