How to center image on splash screen and expand it whilst maintaining aspect ratio?

JohnHardmanJohnHardman GBUniversity mod

Apologies if this is an iOS newbie question.

In my Xamarin.Forms app, I want to get a splash screen in the iOS-specific project, where my image is centered both vertically and horizontally, but stretched to fill the screen whilst maintaining the aspect ratio.

I'm encountering what I think is https://bugzilla.xamarin.com/show_bug.cgi?id=60470 which makes working via the storyboard editor painful. Could anybody tell me please what needs to go in the storyboard file to create the effect described above. Because of the editing issue, I'd rather just go in with a text editor to create the desired effect.

Answers

  • JohnHardmanJohnHardman GBUniversity mod

    I don't normally bump threads, but bumping this one as surely somebody has done this (or knows of a reference regarding the content of storyboard files).

Sign In or Register to comment.