macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

initWithRootViewController:

INDEX>UIKit>UINavigationController

新しいUINavigationControllerを初期化して返します。
-(id)initWithRootViewController:(UIViewController *)rootViewController

解説

返り値

( id )

初期化したUINavigationControllerオブジェクト

引数

( UIViewController * )rootViewController

ルートとなるビューコントローラー

定義

UINavigationController.h

クラス

UINavigationController

Instance Methods

使用可能

iPhone2.0

参照

例文