Bug 60996 - Cannot use safe area insets with a TabbedPage within a NavigationPage
Summary: Cannot use safe area insets with a TabbedPage within a NavigationPage
Status: RESOLVED ANSWERED
Alias: None
Product: Forms
Classification: Xamarin
Component: iOS ()
Version: 2.5.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-12-06 07:49 UTC by p.k
Modified: 2017-12-06 08:08 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED ANSWERED

Description p.k 2017-12-06 07:49:52 UTC
I am trying to adapt my layout to the new iPhone X and I am having issues with TabbedPage and safe area insets.

 - On<iOS>.SetUseSafeAreas(true) will not respect the safe area for the children of the TabbedPage
 - I have not been able to get sound safe area insets with On<iOS>.GetSafeAreaInsets()
 - The SafeAreaInsets property does not appear to be changed (it is for ContentPage)
 - The same holds true for the children of the tabbed page. 

The TabbedPage lives within a NavigationPage, but this is also true for the ContentPage the safe areas work for. If the tabbed page is not within a NavigationPage the safe area insets *do* work for the children. 

If can provide further information, I will happily do so.
Comment 1 Samantha Houts [MSFT] 2017-12-06 08:08:37 UTC
Thank you for your submission. At this time, all new reports should be made on the Xamarin.Forms GitHub Issues repository. Please resubmit this report at https://github.com/xamarin/Xamarin.Forms/issues. This Bugzilla report will now be closed and will not be monitored.