I'm trying to add a UITableView to a UIAlertView, but I have the issue that it seems to be ignoring its frame property and drawing itself at full size...
I have this:
It only responds to touch events within the bounds, as it should, but it draws well past where it should. The origin is being placed in the correct location.
I have this:
Code:
FriendSelectController *friendSelect = [[FriendSelectController alloc] init];
friendSelect.view.frame = CGRectMake(20.0, 40.0, 240.0, 120.0);
friendSelect.view.bounds = CGRectMake(20.0, 40.0, 240.0, 120.0);
friendSelect.view.clipsToBounds = YES;
[alert addSubview:friendSelect.view];
It only responds to touch events within the bounds, as it should, but it draws well past where it should. The origin is being placed in the correct location.