I’m sorry but I don’t count this as acceptable expected behavior - perhaps you misunderstand what I’m saying.
Yes - iphones only support a portrait image. My image IS appropriately scaled and sized. If I restrict the application to portrait mode there is no problem.
The problem occurs when I allow my app to rotate freely. During the initial phase this image is fine. If I continue to hold my phone upright this image is fine. If I rotate my phone though you get the above clipped problem.
Then the application core calls:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions
At this point UE4 is not finished loading, so it puts up it’s own splash screen - in the following code:
[path setString: [path stringByAppendingPathComponent:ImageString]];
UIImage* image = [[UIImage alloc] initWithContentsOfFile: path];
[path release];
UIImage* imageToDisplay = [UIImage imageWithCGImage: [image CGImage] scale: 1.0 orientation: orient];
UIImageView* imageView = [[UIImageView alloc] initWithImage: imageToDisplay];
imageView.frame = MainFrame;
imageView.tag = 2;
[self.Window addSubview: imageView];
GShowSplashScreen = true;
THIS is the image that causes problems. I don’t have control over it without modifying the engine code (for instance as I put above, though that code is not generic enough to work in the engine itself).