利用規約を表示する必要があるログイン画面にシンプルな UITextView があります。利用規約に非常に大きなテキストがあります。インターフェイス ビルダーで、UITextView にテキストを追加しました。インターフェイスビルダーでは、テキストが正しく表示されています。しかし、アプリケーションを実行すると、UITextView は空です。UItextView に小さなテキストを指定すると、適切にレンダリングされますが、巨大な/大きなテキストは表示されません。
これがコードです。
- (IBAction)showTermsOfUse:(id)sender{
termsOfUseText.text = @"/***/";
termsOfUseText.scrollEnabled = YES;
[UIView beginAnimations:nil context:nil]; // begins animation block
[UIView setAnimationDuration:0.6]; // sets animation duration
[UIView setAnimationDelegate:self];
termsOfUse.frame = CGRectMake(0,0,320,416);
[UIView commitAnimations]; // commits the animation block. This Block is done.
}