2014-01-28から1日間の記事一覧
UITextViewにインデントを設定する。 (環境:xcode5, iOS7) UITextView* textView = [UITextView alloc] initWithFrame:CGRectMake(0.0, 0.0, self.view.frame.size.width, 100.0)]; [textView setTextContainerInset:UIEdgeInsetsMake(20.0, 20.0, 0.0, 20.0…
TwitterのプロフィールページをiPhoneアプリから呼び出す方法。 (環境:xcode5, iOS7)・Webブラウザで呼び出す場合 NSURL *url = [NSURL URLWithString:@"https://twitter.com/プロフィール名"]; ・公式アプリで呼び出す場合 NSURL *twitterAppURL = [NSURL U…