--- a/project_files/HedgewarsMobile/Classes/ObjcExports.m Mon Jan 30 07:51:30 2012 +0100
+++ b/project_files/HedgewarsMobile/Classes/ObjcExports.m Mon Jan 30 23:20:28 2012 +0100
@@ -69,6 +69,10 @@
overlay_instance.loadingIndicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];
overlay_instance.loadingIndicator.hidesWhenStopped = YES;
overlay_instance.loadingIndicator.center = loaderCenter;
+ overlay_instance.loadingIndicator.autoresizingMask = UIViewAutoresizingFlexibleLeftMargin |
+ UIViewAutoresizingFlexibleRightMargin |
+ UIViewAutoresizingFlexibleTopMargin |
+ UIViewAutoresizingFlexibleBottomMargin;
[overlay_instance.loadingIndicator startAnimating];
[overlay_instance.view addSubview:overlay_instance.loadingIndicator];
[overlay_instance.loadingIndicator release];