How can I programmatically get access to the size of the a view that is encapsulated within a modal view on the iPad?
I am presenting a modal view on the Ipad using the UIModalPresentationFormSheet enumeration, and at one point I would like to temporarily present an activity indicator view over the entire modal sheet until an action occurs. The problem I am having is I am initializing this waiting indicator view with the frame of the view controller's view, and for whatever reason, that frame is always showing up as (0,0,320,460). While this is fine for the iPhone, on the iPad, the modal form sheet is obviously bigger than that, and so my activity indicator is only partly covering the screen. Any ideas on how to fill the modal form sheet?
Thanks for your help.