&tag(UITextView);
*目次 [#b5183517]
#contents
*参考情報 [#n447a6a4]

*Tips [#y6b1c07b]
**画面いっぱいのUITextViewがキーボードに隠れないようにする [#lfbb3568]
-[[画面いっぱいのUITextViewがキーボードに隠れないようにする « LANCARD.LAB|ランカードコムのスタッフブログ:http://www.lancard.com/blog/2010/04/06/dont-want-hide-uitextview-behind-keyboard/]]
-[[Programatically align a toolbar on top of the iPhone keyboard - Stack Overflow:http://stackoverflow.com/questions/158574/programatically-align-a-toolbar-on-top-of-the-iphone-keyboard]]

**UITextViewの高さを計算する [#h575b0be]
-[[How do I size a UITextView to it's content? - Stack Overflow:http://stackoverflow.com/questions/50467/how-do-i-size-a-uitextview-to-its-content]]

**linkクリック時にSafariではなくUIWebViewで開く [#t06f3b88]
***方法1: プライベートメソッドを使う [#o71182cf]
-[[How to open UITextView web links in a UIWebView instead of Safari? - Stack Overflow:http://stackoverflow.com/questions/1305544/how-to-open-uitextview-web-links-in-a-uiwebview-instead-of-safari]]上記リンクに二つの方法が紹介されているが、プライベートメソッド使った方法なので、リジェクトされる危険性がありそう。
***方法2: UITextViewを使わない [#q0050b14]
three20に含まれるTTStyleTextLabelを使う。もしくはUIWebViewを使う。


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS