Forum Xamarin.iOS


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Universal LaunchScreen Edit Traits using VS 2017 on Mac

DuITAppsDuITApps USMember ✭✭

How do I center a UILabel in the LaunchScreen for both iPad 12.9 and iPhone Screens? I tried all the options and also tried Edit Traits feature but could not succeed. Are there any examples of the Edit Traits feature for VS 2017 on Mac? Appreciate any help.

Instead of an UIImage, my plan is to display a static text using UILable in the center of the LaunchScreen. Thank you!


  • JGoldbergerJGoldberger USMember, Forum Administrator, Xamarin Team, University Xamurai

    Moving to Xamarin.iOS forum.


    The easiest way is to set constraints in iOS Designer. Basically the steps are:

    1. Add a UILabel to the LaunchScreen.storyboard
    2. Select the "Constraint Editing Mode" in the upper right of the iOS Designer canvas.
    3. Select the UILabel
    4. Click and drag from the small box in the center of the UILabel to the Center guides (do once each for horizontal and vertical center guides)

    Here is a screencast showing how:

Sign In or Register to comment.