2010-01-17から1日間の記事一覧
iPhoneアプリでObjective-C++を有効にするためには、 「.m」ファイルを「.mm」とする必要がある。
AppDelegate.mの (void)applicationDidFinishLaunching:(UIApplication *)application { 内に下記を追加。 [UIApplicationsharedApplication].statusBarHidden = YES;
ここから// Override to allow orientations other than the default portrait orientation. (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { // Return YES for supported orientations return (interfaceOr…
iPhoneアプリでObjective-C++を有効にするためには、「.m」ファイルを「.mm」とする必要がある。
<プロジェクト名>AppDelegate.mの (void)applicationDidFinishLaunching:(UIApplication *)application { 内に下記を追加。[UIApplicationsharedApplication].statusBarHidden = YES;
ここから// Override to allow orientations other than the default portrait orientation. (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { // Return YES for supported orientations return (interfaceOr…