mobiledevelopertips.com 2024 著作権. 不許複製 プライバシーポリシー
mobiledevelopertips.com 2024 著作権. 不許複製 プライバシーポリシー
iOS4と5では、アプリケーションの起動時や終了時に呼ばれるアプリケーションとビューコントローラーのライフサイクルメソッドが呼ばれる順序に若干違いがあります。 起動シーケンスは、例えばアプリに暗証番号を設定して、ロックされていた場合はアプリケーションの画面を出す前にロック解除の画面を出さなければならない場合などには、初回起動時、ホームボタンでバックグラウンドに入ったとき、バックグラウンドから復帰したとき、スリープボタンを押されたとき・・・などあらゆる場面を想定して非常に綿密に検討する必要がでてきます。 iOS5だけをサポートして、iOS4はサポートしないのであればとてもシンプルなので問題ないのですが、両方をサポートする場合は気をつけなければなりません。 アプリケーションライフサイクルについては詳しくはこちら。 ビューコントローラーのライフサイクルについてはこちら。 下の内容はiOS4は4.
iOS 5.1 では UIScrollViewにバグがあるようで慣性スクロールが終わるタイミングで少しずつメモリがリークしてしまうようです。 UIScrollView を継承している UITableView や UITextView も同じ不具合が発生します。 内部に UIScrollView を保持している UIWebView も同様です。 Xcode 4.3.1 の Single View Application に下記のコードを追加しただけのアプリケーションと Instruments の Leaks を使用して検証しました。 - (void)viewDidLoad { [super viewDidLoad]; UIScrollView *scrollView = [[UIScrollView alloc] initWithFrame:CGRectMake(0.0f, 0.0f, 32
สล็อตเว็บตรง FAFA666 อัwเดตระบบใหม่ รองรับ ทรูวอเลท เว็บตรง 100% อัพเดตระบบทันสมัย เล่นสล็อตได้อย่างเรียบง่ายและปลอดภัย สล็อตเว็บตรง แค่เข้ามาเป็นสมาชิกก็รับความคุ้มได้ตลอดทั้งวัน FAFA666 รองรับการเล่นบนมือถือทุกรุ่น ถ้าสนใจการทำเงินที่ดีที่สุดในปี 2023 การเข้ามาสมัครค่ายนี้ตอบโจทย์และมีระบบการเล่นด้วย ทรูวอเลท เล่นเสร็จโอนเงินไว สล็อต ทุกการปั่นสล็อตทุกรูปแบบไม่คิดเงินเพิ่ม ศูนย์รวมการทำเงินที่ดี
This is a blog post by iOS Tutorial Team member Tope Abayomi, an iOS developer and Founder of App Design Vault, your source for iPhone App Design. Welcome to the second part of the tutorial series on how to generate a PDF using Quartz 2D! In Part One, we set up an app framework for the PDF, and we drew some rudimentary text and lines with Quartz 2D inside our PDF. Since our PDF will be an invoice
This is a blog post by iOS Tutorial Team member Tope Abayomi, an iOS developer and Founder of App Design Vault, your source for iPhone App Design. Sometimes in your apps you might want to generate a PDF with data from the app for your users. For example, imagine you had an app that allowed users to sign a contract – you would want the users to be able to get a PDF with the final result. But how do
Update 7/17/14: We now have a new version of this tutorial fully updated to Swift – check it out! If you need to detect gestures in your app, such as taps, pinches, pans, or rotations, it’s extremely easy with the built-in UIGestureRecognizer classes. In this tutorial, we’ll show you how you can easily add gesture recognizers into your app, both within the Storyboard editor in iOS 5, and programat
特定ファイル、ディレクトリをバックアップ対象外とする方法 エントリアプリのiOS5のアップデート対応でも記述した通り、iOS5からはDLファイル等の大容量ファイルをバックアップ対象としてはいけないポリシーとなりましたが、それを受けてかiOS5.0.1よりDocumentsディレクトリ以下であっても特定のディレクトリやファイルをバックアップ対象外とすることが可能になりました。 具体的には、以下のようなコードを記述し、バックアップ対象外としたいディレクトリに対してコールすると良いです。 バックアップ対象外とするメソッド(qa1719より抜粋) #include <sys/xattr.h> - (BOOL)addSkipBackupAttributeToItemAtURL:(NSURL *)URL { const char* filePath = [[URL path] fileSystemRe
Update 10/24/12: If you’d like a new version of this tutorial fully updated for iOS 6 and Xcode 4.5, check out iOS 5 by Tutorials Second Edition! Note from Ray: This is the fifteenth and final iOS 5 tutorial in the iOS 5 Feast! This tutorial is a free preview chapter from our new book iOS 5 By Tutorials. This Wednesday we’ll have our final post in the iOS 5 Feast series – the epic iOS 5 Feast Give
Note from Ray: This is the eighth iOS 6 tutorial in the iOS 6 Feast! In this tutorial, you’re updating one of our older tutorials to iOS 6 so it’s fully up-to-date with the latest features like the new Core Image filters in iOS 6. Parts of this tutorial come from Jake Gundersen‘s three Core Image chapters in iOS 5 by Tutorials and iOS 6 by Tutorials. Enjoy! Update note: Want to read this tutorial
Note from Ray: This is the twelfth iOS 5 tutorial in the iOS 5 Feast! This tutorial is a free preview chapter from our new book iOS 5 By Tutorials. Matthijs Hollemans wrote this chapter – the same guy who wrote the iOS Apprentice Series. Enjoy! This is a post by iOS Tutorial Team member Matthijs Hollemans, an experienced iOS developer and designer. This is the second part of a two part tutorial se
I have no doubt that automatic reference counting (ARC) is the next big leap forward for Objective-C since the introduction of Objective-C 2.0. ARC allows you to put the burden of memory management on the (Apple LLVM 3.0) compiler, and never think about retain, release and autorelease ever again. Since many user’s first experiences with ARC will be trying to convert an existing app, they will lear
UIAppearanceプロトコル iOS5 から UIAppearance プロトコルが導入された。このプロトコルを使うと UINavigationBar や UISwitch のインスタンスの色を変更することができる。変更の仕方はこんな感じ。 [[UISwitch appearance] setOnTintColor:[UIColor greenColor]];UIAppearance が有用なのは、上記の通りインスタンスではなくクラスに対して色設定ができること。つまりこれを使うと画面上で使われているすべての UISwitch の色を変えることができる。 例えば緑基調の画面があったとして、UIAppearance プロトコルを使うと別の色(例では赤)に変更することができる。 上記の例は1画面だけだが、アプリで使われるすべての画面で色が変わる。 上記例の色変更の箇所のコードはこんな感じ。
Note from Ray: This is the tenth iOS 5 tutorial in the iOS 5 Feast! This tutorial is a free preview chapter from our new book iOS 5 By Tutorials. Enjoy! This is a post by iOS Tutorial Team member Cesare Rocchi, a UX designer and developer specializing in web and mobile applications. This is the second part of a two-part tutorial series on how to get started using iCloud in iOS 5. In the first part
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く