I have a scrollView that is 900 high. At the bottom I have a button that does some network work.
When it’s complete I call a UIAlertView to appear to tell the user if there was success or failure in the action.
The alert appears (I think) but it’s not visible as it is somewhere on the middle of the scrollview and the view is now locked.
How can I set my alert to appear near the bottom of the scrollview, like at y position 700?
My code for UIAlertView
[[[[UIAlertView alloc] initWithTitle: @"Alert"
message: @"Success"
delegate: self
cancelButtonTitle: @"OK"
otherButtonTitles: nil] autorelease] show];
UIAlertViewis always attached to key window, not to the top view. So it’s not appearing at all. You should check your display code.