Neelam Prajapati
Neelam Prajapati

Reputation: 3802

how to set image as background in launch.storybord + xamarin.forms

in recent release of xamarin launch screen can be designed from storyboard instead of old approach where we were adding all splash screen images according to wise.

https://developer.xamarin.com/guides/ios/application_fundamentals/working_with_images/launch-screens/

from this link get to know how can set launchscreen using storyboard.

so my question is how can i set image as background to storyboard dont want background colour.

i need image as background on which i can put logo image and label.

so is it possible?if yes then how.

please help.

see here

Upvotes: 1

Views: 2387

Answers (1)

ColeX
ColeX

Reputation: 14475

You need to set top,bottom,leading,trailing constraints on the imageView.

  1. Select Constraint edit mode ,and click twice to show the point on side which ca be dragged to set the constraint.

    enter image description here

  2. Modify the constraint value to 0(in Property menu).

    enter image description here

  3. Do the same work on the four constraints.

    enter image description here

Refer to Auto Layout with the Xamarin Designer for iOS

Upvotes: 3

Related Questions