I created a UIView on which there are two controls, a label and an activity indicator (spinning wheel) to display when the device is synchronized. Since this UIViewController should be accessible globally, I add it to the FinishedLaunching application:
window.AddSubview (navigationController.View); window.AddSubview (SyncSpinner.View); window.MakeKeyAndVisible ();
I override the shouldAutoRotate event and return true to allow the rotation of the view using the device. However, I was not able to make this point of view rotate. I even tried calling the shouldAutoRotate event from the navigationController shouldAutoRotate event, but it still doesn't spin.
How to create a very simple view to use as a status dialog box with a label at the top, scrolling in the middle and correct rotation?
Thank.
source
share