--- a/project_files/HedgewarsMobile/Classes/TeamConfigViewController.m Sun Sep 06 03:17:22 2015 +0200
+++ b/project_files/HedgewarsMobile/Classes/TeamConfigViewController.m Sun Sep 06 04:30:30 2015 +0200
@@ -45,6 +45,8 @@
} else {
UIImage *backgroundImage = [[UIImage alloc] initWithContentsOfFile:@"background~iphone.png"];
UIImageView *background = [[UIImageView alloc] initWithImage:backgroundImage];
+ background.contentMode = UIViewContentModeScaleAspectFill;
+ background.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
[backgroundImage release];
[self.view addSubview:background];
[background release];