Sreejith Sree
Sreejith Sree

Reputation: 3766

Xamarin forms: App logo in the launching screen of ios app is not center aligned on ipad

I have used this tutorial video for implementing the splash screen on the ios app. Like the tutorial video, I have added a launch screen file and insert the logo and strip images into it. It is working almost fine on iPhone devices but when it comes to iPad the logo is not in the center.

My design(Have a strip on bottom):

enter image description here

Current screenshot:

enter image description here

In iPad, the logo is not on the center and the strip is not on the footer. It behaves like an iPhone size in the IPad device. How can I center the logo and put the strip on the footer for all devices? And what is the best approach for implementing splash in ios?

Upvotes: 0

Views: 836

Answers (1)

Lucas Zhang
Lucas Zhang

Reputation: 18861

Make sure that you had added constraints to your controls. If you consumed autolayout to place the controls it will adapter to all size devices including iPads. Change the mode to constraint mode at the top right side of the designer:

Use the center point to center a control like:

Then edit their constants in the property window:

Click the more button to add leading, bottom, trailing constraints to display a control at the bottom of the view like:

If it still doesn't work , you could provide a sample and I will check it on my side .

Upvotes: 3

Related Questions