iOS5
アカウントを取得したら後はツイートするだけ。 ざっくりこんな感じで。 - (IBAction)tweet:(id)sender { ACAccountStore *accountStore = [[ACAccountStore alloc] init]; ACAccount *twitterAccount = [accountStore accountWithIdentifier:self.userID]; …
ざっくりこんな感じで。 - (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…
ちょこっと調べると Apple Developer Forum でさっくり答えは出てきた。 iOS 5 だと [self.navigationController parentViewController] が nil になってるって。(ModalViewController の parentViewController が nil になる。) デバッガで見てみると確か…
今回やっちまったのは、アプリケーションで ModalView を表示して、その ModalView は NavigationController でできてるって構成。例えばアプリケーションの MainView にある「ModalView」ボタンをタップすると、下からニョロっと MyModalTopView が上がって…