Public メソッド | Protected 変数 | プロパティ
クラス MixiWebViewController

ウェブビューコントローラ [詳細]

#import <MixiWebViewController.h>

MixiWebViewControllerに対する継承グラフ
MixiDownloadWebViewController MixiSDKAuthorizerWebViewController

すべてのメンバ一覧

Public メソッド

(IBAction) - close:
 閉じるボタンクリックを処理
(id) - initWithURL:
 初期化
(id) - initWithURL:delegate:
 初期化
(id) - initWithHTML:delegate:
 初期化

Protected 変数

IBOutlet UIToolbar * toolbar_
 ツールバー
NSString * toolbarTitle_
 タイトル
UIColor * toolbarColor_
 ツールバーの色
IBOutlet UIBarButtonItem * closeButton_
 ツールバー上の閉じるボタン
IBOutlet UILabel * titleLabel_
 ツールバー上のタイトルラベル
IBOutlet UIWebView * webView_
 ウェブビュー
NSURL * url_
 ウェブビューで表示する画面のURL
NSString * html_
 ウェブビューで表示するHTML
id< UIWebViewDelegate > delegate_
 ウェブビュー内での閉じるボタン押下を処理するデリゲート
id< MixiOrientationDelegateorietationDelegate_
 デバイスの向きに同反応するかを処理するデリゲート

プロパティ

NSURL * url
NSString * html
id< UIWebViewDelegate > delegate
id< MixiOrientationDelegateorientationDelegate
NSString * toolbarTitle
UIColor * toolbarColor

説明

ウェブビューコントローラ

公式アプリダウンロード以外の用途は現在のところ想定していません。

なお、デフォルトの設定ではデバイスが縦向きの場合にしか対応していません。 横向きに対応するには次のようにしてください。

MixiWebViewController *viewController = [mixi buildViewControllerWithRequest:request delegate:mixiDelegate];
 viewController.orietationDelegate = self;
 

ただし、上記はMixiOrientationDelegateプロトコルを実装し、横向きにも対応したビューコントローラー内で呼び出されているものと仮定しています。


関数

- (IBAction) close: (id)  sender

閉じるボタンクリックを処理

引数:
senderイベント発生元
- (id) initWithHTML: (NSString*)  html
delegate: (id<UIWebViewDelegate>)  delegate 

初期化

引数:
htmlHTML
delegate閉じるボタン押下を処理するデリゲート
戻り値:
MixiWebViewControllerインスタンス
- (id) initWithURL: (NSURL*)  url

初期化

引数:
urlURL
戻り値:
MixiWebViewControllerインスタンス
- (id) initWithURL: (NSURL*)  url
delegate: (id<UIWebViewDelegate>)  delegate 

初期化

引数:
urlURL
delegate閉じるボタン押下を処理するデリゲート
戻り値:
MixiWebViewControllerインスタンス

このクラスの説明は次のファイルから生成されました:
 全て クラス ファイル 関数 変数 型定義 列挙型 列挙型の値 マクロ定義