I'm not sure if i'm doing something wrong or if this is a bug but in certain condition, the tabbedpage don't draw the tab in the master page.
(Ipad, iOS 9.0, seems to work fine on the 8.4 images of the simulator)
Set MasterBehavior as default (for ipad, split on landscape / popover on portrait)
Launch it on the simulator in portrait mode,
A little code :
public class App : Application { public App( ) { MainPage = new MasterDetailPage() { Master = new TabbedPage() { BackgroundColor = Color.Blue, Title = "Master", Children = { new ContentPage(){Title = "T1", BackgroundColor = Color.Blue,}, new ContentPage(){Title = "T2", BackgroundColor = Color.Red, }, new ContentPage(){Title = "T3", BackgroundColor = Color.Green}, } }, MasterBehavior = MasterBehavior.Default, Detail = new ContentPage(){ Title = "Detail", Content = new StackLayout() { Children = { new Label() { Text = "Detail", VerticalOptions = LayoutOptions.CenterAndExpand, HorizontalOptions = LayoutOptions.CenterAndExpand, } } }} }; } }
Answers
Could you try using a different approach? Seems to me there isn't enough room on the Master side to display tabs.
And if you target Android, the tabs will appear at the top and will look confusing underneath the titlebar. If they even work at all.
Instead of tabs can you not display your T1 T2 T3 in a list?
For the moment, i've iOS for primary target.
Each tabbed page children is a specific content page with navigation.
And it's working fine with iOS 8.4, but not iOS 9.0 images.
If the app start in landscape, the tabs appeared, but if you rotate the screen in portrait and then in landscape, the tabs are not there anymore.
I'm not sure what to do...