• 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31

Quoted from:

UIViewController Class Reference
http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIViewController_Class/Reference/Reference.html#//apple_ref/doc/c_ref/UIViewController

Example of container view controllers:

  • UINavigationController
  • UITabBarController

To implement a Container View Controller

Subclass UIViewController that call the view containment methods:

  • addChildViewController:
  • removeFromParentViewController
  • transitionFromViewController:toViewController:duration:options:animations:completion:
  • willMoveToParentViewController:
  • didMoveToParentViewController:

Using containment methods in UINavigationController

pushViewController:animated calls:

  • addChildViewController
  • transitionFromViewController:toViewController:duration:options:animations:completion:

popViewControllerAnimated calls:

  • removeFromParentViewController
  • transitionFromViewController:toViewController:duration:options:animations:completion:
posted by Png satoko on Fri 28 Oct 2011 at 10:37

Comments:

or Preview
Social Bookmarks
  • Delicious
  • B_entry2002
  • Clip_16_12_w
Services from s21g
twpro(ツイプロ)
Twitterプロフィールを快適検索
地価2009
土地の値段を調べてみよう
MyRestaurant
自分だけのレストラン手帳
Formula
ブログに数式を埋め込める数式コミュニティ