DESKPLATE ブログ -18ページ目

DESKPLATE ブログ

中野/高円寺/荻窪/吉祥寺/三鷹周辺でアプリ開発業者をお探しなら!
スマホアプリ開発 DESKPLATE のブログです!

CPUモード
 すべての描画をCPUで行う

GPUモード
 描画をGPUで行う
 特殊なコーディングなしで高速化可能
ViewControllerの中からこういう風に
url はファイルのアドレス

#import

MPMoviePlayerViewController *moviePlayerView = [[MPMoviePlayerViewController alloc] init];
MPMoviePlayerController *moviePlayer = moviePlayerView.moviePlayer;
[moviePlayer setContentURL: url];
[self presentMoviePlayerViewControllerAnimated: moviePlayerView];


MPMoviePlayerViewControllerとMPMoviePlayerController を使うのがポイント
プレイヤーの「Done」を押すともとの画面に自動で戻る
target remote-mobile /tmp/.XcodeGDBRemote-146-22
Switching to remote-macosx protocol
mem 0x1000 0x3fffffff cache
mem 0x40000000 0xffffffff none
mem 0x00000000 0x0fff none
[Switching to process 11779 thread 0x0]
[Switching to process 11779 thread 0x0]
sharedlibrary apply-load-rules all
Couldn't register [アプリケーションID] with the bootstrap server. Error: unknown error code.
This generally means that another instance of this process was already running or is hung in the debugger.(gdb)

こんなメッセージが出て実機に転送したアプリが止まってしまう場合は、
iphone, iPad 実機を再起動

原因は、iPhoneが実行中のときにXcodeが強制終了されたため、iPhone側に実行中ステータスが残っている状態となっているため。再起動してリセットするのが早い。


ライターとしてもの凄く実績のある方から書評をいただきました。


@openspc
古籏一浩
書籍:HTML5基礎(マイコミ) 今日の時点で出ているHTML5本としてはバリエーションと詳細度のバランスからすると最もよい。現時点でHTML5 API本なら、この本を薦めるかな。

http://twitter.com/#!/openspc/status/62459361003438080