UIScrollView disappears from Builder interface?
1 answer
UIAlertView is a modal dialog that runs inside code, so it's not very useful to customize it in Interface Builder. To create an alert, use code similar to the following:
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Error message" message:@"Error description" delegate:self cancelButtonTitle:@"OK" otherButtonTitles: nil];
[alert show];
[alert release];
The UIScrollView is right in the Interface Builder library. I don't know why you can't see it. Its icon is an empty white view with a gray scroller on the right side. Even adding such a view to your interface, you may still need to set some parameters in your code to get the scrolling to work properly.
As a conceptual comment, if you want 50 labels to be scrolled, I think you might be better off using a UITableView.
+3
a source to share