Forum Xamarin.Forms

LayoutTo behaving weird on iOS, or am I misunderstanding how it's used?

GeorgeCookGeorgeCook PEUniversity ✭✭✭

I've got a custom component, which has a renderer who's native control is a UIView.
When I do the following
this.SelectedPlayer.LayoutTo (new Rectangle (100, 600, 10, 10), 500);

I expect to see it change to 10x10 pixels. However, it doesn't the height stays the same no matter what I do.. What am I doing wrong? This same code worked fine in the android version.

Sign In or Register to comment.