2008-11-14から1日間の記事一覧
info.plistのBundle identifierが間違っている可能性あり。 よく確認。人のせいにしない!
シミュレータか実機か判別 / iPhoneOSか判別 #if TARGET_IPHONE_SIMULATOR NSString *hello = @"Hello, iPhone simulator!"; #else NSString *hello = @"Hello, device!"; #endif #if TARGET_OS_IPHONE #import <UIKit/UIKit.h> #else #import <Cocoa/Cocoa.h> #endif</cocoa/cocoa.h></uikit/uikit.h>