macOS/iOS API解説

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

目次

UIApplication

statusBarOrientationAnimationDuration

ステータスバーが90度向きを変える時の秒でアニメーションの遅延時間(読み込みのみ) @property(nonatomic, readonly) NSTimeInterval statusBarOrientationAnimationDuration 解説 ステータスバーが90度向きを変える時の秒でアニメーションの遅延時間(読…

statusBarOrientation

アプリケーションの現在の向き @property(nonatomic)UIInterfaceOrientation statusBarOrientation UIInterfaceOrientation 解説 アプリケーションの現在の向き フレームワーク UIKit クラス UIApplication Instance Methods 使用可能 iPhone2.0 参照 例文

statusBarHidden

ステータスバーが隠されているかどうかを示すブール値 @property(nonatomic, getter=isStatusBarHidden) BOOL statusBarHidden 解説 ステータスバーが隠されているかどうかを示すブール値 YESはステータスバーが隠され、NOは表示されていることを示します。–…

statusBarFrame

ステータスバーの範囲を定義するフレーム矩形(読み出しのみ) @property(nonatomic, readonly) CGRect statusBarFrame 解説 ステータスバーの範囲を定義するフレーム矩形(読み出しのみ) もしステータスバーが隠されていたら、このプロパティの値はCGRectZ…

proximitySensingEnabled

近接センサーが有効かどうかのブール値 iPhone3.0で使用中止 @property(nonatomic, getter=isProximitySensingEnabled) BOOL proximitySensingEnabled 解説 近接センサーが有効かどうかのブール値 proximityMonitoringEnabledとUIDeviceのproximityStateプロ…

networkActivityIndicatorVisible

ネットワークアクティビティのON/OFFを示すブール値 @property(nonatomic, getter=isNetworkActivityIndicatorVisible) BOOL networkActivityIndicatorVisible 解説 ネットワークアクティビティのON/OFFを示すブール値 通常はNO。 フレームワーク UIKit クラ…

keyWindow

アプリケーションのキーウインドウ(読み出しのみ) @property(nonatomic, readonly) UIWindow *keyWindow 解説 アプリケーションのキーウインドウ(読み出しのみ)このプロパティは直近にmakeKeyAndVisibleメッセージが送信されたウインドウの配列でUIWindo…

idleTimerDisabled

自動スリープするかどうか @property(nonatomic, getter=isIdleTimerDisabled) BOOL idleTimerDisabled 解説 アイドルタイマーはアプリケーションで無効かどうかをコントロールするブール値 YESにすると、何も操作しない場合に画面が暗くならずスリープしな…

delegate

アプリケーションのデリゲートオブジェクト @property(nonatomic, assign) id<UIApplicationDelegate> delegate 解説 デリゲートはUIApplicationDelegate公式プロトコルを採用しなければならない UIApplicationは割り当てるがデリゲートを保持しない。 フレームワーク UIKit クラス </uiapplicationdelegate>…

applicationSupportsShakeToEdit

デバイスを振ることでアンドゥ、リドゥ、ユーザーインターフェースを使用するかを決定するブール値 @property(nonatomic) BOOL applicationSupportsShakeToEdit 解説 デバイスを振ることでアンドゥ、リドゥ、ユーザーインターフェースを使用するかを決定する…

applicationIconBadgeNumber

スプリングボードでのアイコンバッチ番号 @property(nonatomic) NSInteger applicationIconBadgeNumber 解説 スプリングボードで現在の番号をアプリケーションアイコンのバッジとしてセットします。 0をセットするとバッジ番号を隠します。デフォルトは0です…