WipeWrite PB iTunes App Store

iPhone と iPad で処理を分ける

if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
// iPad の処理
}
else {
// iPad 以外の処理
}

ただし、"UI_USER_INTERFACE_IDIOM()" は、iOS 3.2 以降でのみ使用可能。

Blog : CODE / Posted : 2011.01.27

Post Comment

匿名でコメントする事もできます。


画像の中に見える文字を入力してください。

iOS App