TaylerUva / CS441_Project

1 stars 2 forks source link

Home page button not clickable on iPhone X and above #16

Closed TaylerUva closed 5 years ago

TaylerUva commented 5 years ago

The button labeled click me is not actually clickable when running on an iPhone X or above due to the home bar covering it. There are three solutions:

  1. Changing the page to a Master Detail page and adding page links in the sidebar. Here is the documentation. This is a little more involved and more difficult.

  2. Add the following as an attribute in the content page tag. Add it in the place where the other xmlns are called. This is a simpler solution but not as pretty and will require further polish later

xmlns:ios="clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core"

ios:Page.UseSafeArea="true"
  1. Remove the Welcome to XamarinForms label and add the VerticalOptions="CenterAndExpand" attribute to the click me button

I recommend option 1 since we will probably end up doing this later anyway.