macOS/iOS API解説

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

目次

UIDevice

UIDeviceクラス

INDEX>UIKit> デバイスクラス apple 継承関係 NSObject 準拠:NSObject (NSObject) フレームワーク: /System/Library/Frameworks/UIKit.framework iOS 2.0 以降 定義:UIDevice.h 概要 デバイスクラス メソッドとプロパティ 共有デバイスインスタンスを取得…

UIDeviceProximityStateDidChangeNotification

解説 返り値 引数 フレームワーク UIKit クラス UIDevice Instance Methods 使用可能 iPhone3.0 参照 例文

UIDeviceOrientationDidChangeNotification

解説 返り値 引数 フレームワーク UIKit クラス UIDevice Instance Methods 使用可能 iPhone2.0 参照 例文

UIDeviceBatteryStateDidChangeNotification

解説 返り値 引数 フレームワーク UIKit クラス UIDevice Instance Methods 使用可能 iPhone3.0 参照 例文

UIDeviceBatteryLevelDidChangeNotification

解説 返り値 引数 フレームワーク UIKit クラス UIDevice Notification 使用可能 iPhone3.0 参照 例文

UIDeviceOrientation

解説 typedef enum { UIDeviceOrientationUnknown, UIDeviceOrientationPortrait, UIDeviceOrientationPortraitUpsideDown, UIDeviceOrientationLandscapeLeft, UIDeviceOrientationLandscapeRight, UIDeviceOrientationFaceUp, UIDeviceOrientationFaceDown…

UIDeviceBatteryState

解説 typedef enum { UIDeviceBatteryStateUnknown, UIDeviceBatteryStateUnplugged, UIDeviceBatteryStateCharging, UIDeviceBatteryStateFull, } UIDeviceBatteryState; 返り値 引数 フレームワーク UIKit クラス UIDevice Constants 使用可能 iPhone3.0 …

endGeneratingDeviceOrientationNotifications

解説 返り値 ( void ) 引数 フレームワーク UIKit クラス UIDevice Notification 使用可能 iPhone2.0 参照 例文

beginGeneratingDeviceOrientationNotifications

解説 返り値 ( void ) 引数 フレームワーク UIKit クラス UIDevice Notification 使用可能 iPhone2.0 参照 例文

currentDevice

解説 返り値 ( UIDevice * ) 引数 フレームワーク UIKit クラス UIDevice Notification 使用可能 iPhone2.0 参照 例文

uniqueIdentifier

解説 @property (nonatomic, readonly, retain) NSString *uniqueIdentifier 返り値 ( NSString * ) 引数 フレームワーク UIKit クラス UIDevice Instance Methods 使用可能 iPhone2.0 参照 例文

systemVersion

解説 @property (nonatomic, readonly, retain) NSString *systemVersion 返り値 ( NSString * ) 引数 フレームワーク UIKit クラス UIDevice Instance Methods 使用可能 iPhone2.0 参照 例文

systemName

解説 @property (nonatomic, readonly, retain) NSString *systemName 返り値 ( NSString * ) 引数 フレームワーク UIKit クラス UIDevice Instance Methods 使用可能 iPhone2.0 参照 例文

proximityState

近接センサが動作しているか @property (nonatomic,readonly) BOOL proximityState 解説 返り値 ( BOOL ) 引数 フレームワーク UIKit クラス UIDevice Instance Methods 使用可能 iPhone3.0 参照 例文

proximityMonitoringEnabled

解説 @property (nonatomic,getter=isProximityMonitoringEnabled) BOOL proximityMonitoringEnabled 返り値 ( BOOL ) 引数 フレームワーク UIKit クラス UIDevice Instance Methods 使用可能 iPhone3.0 参照 例文

orientation

解説 @property (nonatomic, readonly) UIDeviceOrientation orientation 返り値 ( UIDeviceOrientation ) 引数 フレームワーク UIKit クラス UIDevice Notification 使用可能 iPhone2.0 参照 例文

name

解説 @property (nonatomic, readonly, retain) NSString *name 返り値 ( NSString * ) 引数 フレームワーク UIKit クラス UIDevice Instance Methods 使用可能 iPhone2.0 参照 例文

model

解説 @property (nonatomic, readonly, retain) NSString *model 返り値 ( NSString * ) 引数 フレームワーク UIKit クラス UIDevice Instance Methods 使用可能 iPhone2.0 参照 例文

localizedModel

解説 @property (nonatomic, readonly, retain) NSString *localizedModel 返り値 ( NSString * ) 引数 フレームワーク UIKit クラス UIDevice Instance Methods 使用可能 iPhone2.0 参照 例文

generatesDeviceOrientationNotifications

解説 @property (nonatomic, readonly, getter=isGeneratingDeviceOrientationNotifications) BOOL generatesDeviceOrientationNotifications 返り値 ( BOOL ) 引数 フレームワーク UIKit クラス UIDevice Notification 使用可能 iPhone2.0 参照 例文

batteryState

解説 @property (nonatomic,readonly) UIDeviceBatteryState batteryState 返り値 ( UIDeviceBatteryState ) 引数 フレームワーク UIKit クラス UIDevice Instance Methods 使用可能 iPhone3.0 参照 例文

batteryMonitoringEnabled

解説 @property (nonatomic,getter=isBatteryMonitoringEnabled) BOOL batteryMonitoringEnabled 返り値 ( BOOL ) 引数 フレームワーク UIKit クラス UIDevice Instance Methods 使用可能 iPhone3.0 参照 例文

batteryLevel

解説 @property (nonatomic,readonly) float batteryLevel 返り値 ( float ) 引数 フレームワーク UIKit クラス UIDevice Instance Methods 使用可能 iPhone3.0 参照 例文