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.
精彩评论