iOS

iOS8 & Swift で UIAlert がクラッシュ

http://stackoverflow.com/questions/24022479/how-would-i-create-a-uialertview-in-swift

UIViewController+ReportInappropriate

iOS

iOS でユーザー投稿型(User generated content)のアプリの審査を通すには、「不適切なコンテンツ」をアプリから報告できるようにしないといけない。一番簡単な実装はユーザーが報告ボタンをタップした時に Mail アプリを開いてそこから報告してもらう方法。…

iOS キーボードに合わせてコンテンツを移動

ios

キーボードのサイズ取得のために UIKeyboardFrameBeginUserInfoKey を使っているサンプルがいくつも見つかるけど、UIKeyboardFrameEndUserInfoKey が正しいと思う。

Debugging Facebook iOS SDK

ios

[FBSettings setLoggingBehavior:[NSSet setWithObjects:FBLoggingBehaviorFBRequests, FBLoggingBehaviorFBURLConnections, nil]];

iOS のプッシュ通知(Push Notifications)の設定

ios

Provisioning Profile / プロビジョニングプロファイルとは?の続き。 具体的な手順 App ID 作成 Push 通知有効にすること Device の登録 新しい Device に変更したこと忘れた Add iOS Certificate Provisioning Profile 作成 証明書作成 iOS App Developmen…

Provisioning Profile / プロビジョニングプロファイルとは?

ios

Provisioning Profile は アプリを動かしたいデバイスにインストールする必要がある Provisioning Profile は以下のものからなる。 1つの App ID iPhone Development Certificate (複数可) ユニーク Device ID (複数可) Provision profile に iPhone Develop…

iOS6 Safari でアプリがインストールされていない時に誘導

ios

<meta name="apple-itunes-app" content="app-id=555264908"></meta>

push 通知時の didReceiveRemoteNotification: から UINavigationController で pop しても効かない件

didReceiveRemoteNotification: では [[NSNotificationCenter defaultCenter] postNotificationName:@"pushNotification" object:nil userInfo:userInfo]; と NSNotificationCenter に通知。各 ViewController でこの通知を受けて ViewController の変更をす…