开发者

UITextView content not appearing in UIAlerView

The content is about 230 lines. It does not appear in UITextView except when you click on it AND try to scroll down. Otherwise, it is a white blank view.

Any ideas why?

    UITextView *termsOfServic开发者_Python百科e = [[UITextView alloc] initWithFrame:CGRectMake(20.0, 100.0, 245.0, 170.0)];
    termsOfService.text = responseString;
    termsOfService.font = [UIFont systemFontOfSize:13];
    termsOfService.editable = NO;
    termsOfService.delegate = self;
    [alert addSubview:termsOfService];


Probably because UIAlertView isn't intended to have subviews added to it. Just because you can, doesn't mean you should.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜