Attached Project to demonstrate.
Details: Skeleton project with 7 pages added to a TabbedPage; on iPhone portrait, it shows a "More Controller" -> going into any of the pages from "More", and then clicking on the "More" button again causes a critical crash with SIGSEGV.
Note: All the pages are added to TabbedPage as a NavigationPage (I want the top-bar); if I add the ContentPage on it's own, then the crash doesn't happen.
I have also tried adding the first four pages as Navigation Page and rest on it's own - this also doesn't crash, but on Orientation change, I end up with last three pages without a top-bar.
Crash Details:
Thread started: #5
2015-10-31 23:21:00.642 TestMoreControlleriOS[72899:2910194] critical: Stacktrace:
2015-10-31 23:21:00.680 TestMoreControlleriOS[72899:2910194] critical: at <0xffffffff>
2015-10-31 23:21:00.680 TestMoreControlleriOS[72899:2910194] critical: at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr)
2015-10-31 23:21:00.680 TestMoreControlleriOS[72899:2910194] critical: at UIKit.UIApplication.Main (string[],intptr,intptr) [0x00005] in /Users/builder/data/lanes/2320/1f068b49/source/maccore/src/UIKit/UIApplication.cs:77
2015-10-31 23:21:00.680 TestMoreControlleriOS[72899:2910194] critical: at UIKit.UIApplication.Main (string[],string,string) [0x00038] in /Users/builder/data/lanes/2320/1f068b49/source/maccore/src/UIKit/UIApplication.cs:61
2015-10-31 23:21:00.680 TestMoreControlleriOS[72899:2910194] critical: at TestMoreController.iOS.Application.Main (string[]) [0x00001] in c:\Users\Rana\Desktop\TestMoreController\iOS\Main.cs:17
2015-10-31 23:21:00.680 TestMoreControlleriOS[72899:2910194] critical: at (wrapper
runtime-invoke) .runtime_invoke_void_object (object,intptr,intptr,intptr)
2015-10-31 23:21:00.680 TestMoreControlleriOS[72899:2910194] critical:
Native stacktrace:
2015-10-31 23:21:00.681 TestMoreControlleriOS[72899:2910194] critical:
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
Next issue: I haven't tested this on a real device yet - adding as a Navigation Page > going to any of the pages within More controller > All the pages have just a title centered on the screen > change orientation by Rotate Left > screen is now landscape and the text is still on center > Rotate Right > screen is now portrait but the label is NO longer centered.
If I had added the ContentPage on it's own, and without inside a Navigation Page, this problem doesn't happen.
Any suggestions or correct way of doing it?
regards
Rana