Download - [iOS] Navigation
Nikmesoft Ltd
Contents
Overview1
Working with UIView2
UINavigationControllers3
UITabbarControllers4
Exercise 35
2
Nikmesoft Ltd
Overview
Solutions
Using multi views inside a single View Controller
Using UINavigationControllers class
Using UITabbarControllers class
6
Nikmesoft Ltd
Working with UIView
11
Important methods
- (void)addSubview:(UIView*)view
- (void)removeFromSupperview;
Nikmesoft Ltd
Working with UIView
15
Contact List
Add Contact
OKContact
FailedShow
Message
Add Contact
and reload
TableView
Nikmesoft Ltd
Working with UIView
17
What all do I need to do?
Looking for someone to…
Order
Massage
Nikmesoft Ltd
UINavigationController
25
Overview The UINavigationController is a class which manages a stack of
UIView controllers.
The nav controller is separate from the UINavigationBar (the bar
that appears at the top of a view);
A navigation controller may exist without a navigation bar.
Nikmesoft Ltd
UINavigationController
26
Overview The UINavigationController is a class which manages a stack of
UIView controllers.
The nav controller is separate from the UINavigationBar (the bar
that appears at the top of a view);
A navigation controller may exist without a navigation bar.
Nikmesoft Ltd
UINavigationController
28
Create a UINavigationBar Button
You can also create a button using one of the built-
in UIBarButtonSystemItem icons
Nikmesoft Ltd
UINavigationController
33
Window NAV A Push VC 1
window.rootViewController = navA [navA pushViewController vc1];
1. self.navigationBarController
2. self.navigationBar
3. self.navigationItems
1. self.visibleViewcontroller
2. self.viewControllers
Nikmesoft Ltd
UINavigationController
34
Window NAV A Push VC 1
window.rootViewController = navA [navA pushViewController vc1];
1. self.navigationBarController
2. self.navigationBar
3. self.navigationItems
1. self.visibleViewcontroller
2. self.viewControllers