2011-12-05から1日間の記事一覧

sendCustomTweet してみる

アカウントを取得したら後はツイートするだけ。 ざっくりこんな感じで。 - (IBAction)tweet:(id)sender { ACAccountStore *accountStore = [[ACAccountStore alloc] init]; ACAccount *twitterAccount = [accountStore accountWithIdentifier:self.userID]; …

Twitter アカウントの取得

ざっくりこんな感じで。 - (IBAction)showAccount:(id)sender { // Create an account store object. ACAccountStore *accountStore = [[ACAccountStore alloc] init]; // Create an account type that ensures Twitter accounts are retrieved. ACAccountTy…

iOS 5でTwitterを使う方法(カスタムな方)

先日、「iOS 5への Twitterアカウントの登録とアプリからのアクセス」という iOS 5から Twitter アカウントをアクセスする方法と iOS 5の設定の話を書いた。 で、今回は実際に取得したアカウントを使ってツイートしてみるまで。 とりあえず Apple のサンプル…