title: How to set Safe Area layout in iPhone x
body: <p>I am developing Xamarin forms app and my app seems with safe area set in top. But need to ignore it.</p>
  
  <p><strong>Current scenario:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/Al4PU.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Al4PU.png" alt="enter image description here"></a></p>
  
  <p><strong>Excepted scenario:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/XFGzf.png" rel="noreferrer"><img src="https://i.stack.imgur.com/XFGzf.png" alt="enter image description here"></a></p>
  
  <p>I have googled regarding this and got below link, tried out as mentioned in below links and nothing worked.</p>
  
  <p><a href="https://forums.xamarin.com/discussion/104945/iphone-x-and-safe-margins-with-xamarin-forms" rel="noreferrer">https://forums.xamarin.com/discussion/104945/iphone-x-and-safe-margins-with-xamarin-forms</a><br>
  <a href="https://blog.xamarin.com/making-ios-11-even-easier-xamarin-forms/" rel="noreferrer">https://blog.xamarin.com/making-ios-11-even-easier-xamarin-forms/</a></p>
  
  <p>But didn’t know how to access <strong>SetPrefersLargeTitles</strong> under Xamarin forms content page in below line mentioned in above link. </p>
  
  <pre><code>On&lt;Xamarin.Forms.PlatformConfiguration.iOS&gt;().SetPrefersLargeTitles(true);
  </code></pre>
  
  <p>After set safe area as true output come as below,
  <a href="https://i.stack.imgur.com/z4E7I.png" rel="noreferrer"><img src="https://i.stack.imgur.com/z4E7I.png" alt="enter image description here"></a></p>
  
  <p>Please help me to resolve this.</p>
  
  <p>Regards,
  Cheran</p>