Tagged Questions
0
votes
0answers
10 views
iOS: Load UIWebView automatically
I have two viewControllers. In my first viewController I prepare a web address and as soon as I hit a button the second view controller should open the address in a web view.
I am not sure how to load ...
0
votes
0answers
10 views
View controller's UIView frame weird behaviour
I've encountered a problem that drove me crazy. I've solved it, but my understanding of the matter is just not enough.
I've looked through documentation, but i guess i picked wrong topics, because ...
0
votes
1answer
27 views
View does not get pushed on button click - Iphone dev
I am trying to push a view from a button. The method gets called on tap but the view does not get pushed into the navigation controller. Below is the code for the button tap:
- ...
1
vote
0answers
13 views
ChildViewController = 0 then crash after popToRootViewController
I'm encountering the strange crash with combination of popToRootViewController and NavigationControllerDelegate.
There are 3 tableViewControllers created in Storyboard.
RootViewController - ...
0
votes
3answers
41 views
Hiding a custom button from another class
This is part of my code inside UINavigationController subclass.
I've created a custom UIButton that will show most of the time.
How can I hide it in specific views?
I want to be able to setHidden the ...
0
votes
3answers
48 views
Can't add rightBarButton to UINavigationBar
I've subclassed UINavigationController to my pop & push needs and now I want to add a custom background image and some custom buttons to the UINavigationBar.
I've read that I can do it (since iOS ...
0
votes
1answer
17 views
How do I present a modal UINavigation view over my tab bar iOS app?
Here is the code I am calling to pop a navigation controller over my entire tab bar app:
LoginViewController *logController = [[LoginViewController alloc] initWithNibName:@"LoginViewController" ...
0
votes
3answers
43 views
iOS storyboard how to present a controller from right using “push” style without navigation controller?
I got a regular full screen view controller defined in storyboard. It has no navigation controller. When a user taps a button, I would like to present another view controller wrapped in a navigation ...
0
votes
1answer
39 views
UINavigation not wotking in my iphone app after chaging root view controller
I am developing ios application for iphone.
Am facing problem with the login screen..
i have developed app withoughtlogin screen.but now i want to give login option at first and after login i want to ...
0
votes
1answer
20 views
creating a UIWebView dynamically on a UIViewController
I need to fill UIViewController with UIWebView dynamically. I am using the UIWebviewController to load automatically on iPhone and iPad. I am using a UINavigationController to push the ...
1
vote
2answers
14 views
Pop to rootviewcontroller when tabbarcontroller is dismissed?
I have login screen (viewcontroller) and then another signature screen (viewcontroller). Then tabbar controller is presented above signature screen. when the user tap logout button in tabbar ...
0
votes
2answers
30 views
How to Enable UI botton in ViewController A upon on row selection in TableViewController B
I have two view controllers (Both Embedded in Navigation Controllers) in tab bar controller. ViewControllerA is has two buttons (MybuttonA and MybuttonB with enabled box unchecked in storyboard). ...
0
votes
3answers
48 views
Why isn't my UIAlertView getting dismissed on the screen before my view gets pushed on the navigation stack?
Here is the code in order of calls. A UIAlertView is on the screen when this chunk of code gets called:
[upcAlertView dismissWithClickedButtonIndex:0 animated:YES];
[self.navigationController ...
1
vote
1answer
33 views
Navigation Item in a NIB is always nil
I've set up a UINavigationBar in a view controller NIB and set outlets for the bar and its associated UINavigationItem. In the view controller's viewDidAppear: I debug the objects. The navigation bar ...
-2
votes
0answers
23 views
Present storyboard spesific view controller within tabbar and navigation controller from app delegate?
Appdelagate wish I could from my application, to open a view, the problem is that it is located within a tabbar in my application and has a navigation controller view the index would be the one but ...
1
vote
2answers
48 views
UINavigationController with custom NavigationBar
I'm trying to create a UINavigationController with a customized NavigationBar.
I've created a class (myNavBar), which inherits from UINavigationBar.
I call my navigationController like this :
...
1
vote
1answer
24 views
UISearchBar in UINavigationController's UINavigationBar not clickable
I'm creating a UISearchBar and set it to my UINavigationController's titleView property. The left button of the navigation bar is null, and the search bar displays properly.
However, any touches on ...
0
votes
2answers
40 views
Root view controller issue for a common scenario in iOS
I want my iOS app to follow the common pattern of having a main view where signing up or signing in is required to access the app, so if it is the first time the app is run in the device or the user ...
0
votes
2answers
34 views
my UINavigatioBar is not on the top of view - programmatically
I am creating a UINavigationBar using the following,
UINavigationController *navigationController = [[UINavigationController alloc] init];
[view addSubview: navigationController.view];
How ...
0
votes
1answer
22 views
UIPopoverController size changes when new controller is push on navigation controller set in UIPopover controller
I have below issue with UIPopoverController and UINavigationController:
I have created one UINavigationController with one UITableViewController in that. Then I have set this UINavigationController ...
2
votes
1answer
36 views
navigationController.navigationItem vs navigationItem
just curious, why if u want to set navigationItem, self.navigationItem = ... works, but self.navigationController.navigationItem fails? the same is self.toolbarItems vs ...
0
votes
1answer
27 views
How to avoid two barButtons in NavigationBar could be pressed in same time?
I found this problem in my app.
"BackBarButton" and "rightBarButton" could be touched in same time.And then both of the actions will be called.
I know there is "exclusiveTouch" in UIView to solve ...
0
votes
3answers
46 views
How can I remove a view I added to navigationcontroller view?
So I have a settings bar button item in my navigation controller which, when pressed from a home view controller, opens a settings vc transparent view over the home vc, so the home vc is still visible ...
0
votes
2answers
64 views
Black screen when programmatically creating navigation controller
I am programmatically creating a navigation controller like so:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
...
0
votes
1answer
23 views
How to mix view orientations on iOS?
I'm developing a news application. The app consists of a UITabBarcontroller, each tab representing a category of news items, held in a UINavigationController.
The app only supports portrait.
Now ...
0
votes
1answer
28 views
Trying to pass a managedObjectContext from GameAppDelegate to a view embed in a NavigationController
I'm creating my managedObjectContext in GameAppDelegate and passing it to my first ViewController (GameViewController) which isn't embedded in a UINavigationController, i want to pass then my ...
0
votes
0answers
26 views
IOS Trouble Loading View Into Navigation Controller
I have a navigation controller that I want to have pick which view controller it loads through the viewDidAppear method on load. I have searched similar questions but none of the solutions seem to ...
0
votes
2answers
50 views
Using Navigation inside TabController in iPhone
I am new to iPhone app development, I have a tabbed based app,
on first tab view I have a search form, on when I put value in search and get resutls in array I want get result in table but in ...
0
votes
0answers
23 views
Push View controller, Ness App, Blending into background
I am working on an app which has a sliding cards VC , and when the user clicks on a card, I push a detail of that card ( which is a detailVC on the main VC). Now I can do the push and do some ...
0
votes
4answers
46 views
viewDidLoad (and loadView) is not fired after the view controller is pushed into navigation controller
viewController's view is not loaded just after that viewController is pushed into navigation controller.
This is my code snippet.
- (void)myMethodInClassA {
// window's root view controller is ...