macOS/iOS API解説

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

目次

UINavigationBarクラス

INDEX>UIKit>

ナビゲーションバーを表示するためのクラス

apple

継承 UIView : UIResponder : NSObject
準拠 NSCoding
NSCoding (UIView)
NSObject (NSObject)
フレームワーク /System/Library/Frameworks/UIKit.framework
使用可能 iOS 2.0以降
定義 UINavigationBar.h

解説

概要

タスク

ナビゲーションバーの設定

barStyle property
tintColor property
translucent property

デリゲートのアサイン

delegate property

アイテムのプッシュとポップ

– pushNavigationItem:animated
– popNavigationItemAnimated
– setItems:animated
items property
topItem property
backItem property