Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Stack Overflow when using Tabbed pages

$
0
0

Hi

I'm using a TabbedPage root with 6 ContentPage sub-classes. Running the app on iPhone 4s IOS 8.1 simulator, I find selecting one of the tabs via the tab control at the bottom is fine. Likewise, selecting the two tabs that are available in the "More" bit is fine. However, when using the in-built ability to move one of the tabs in the more section to the bottom bar, the following stack overflow exception is throw when selecting anything in the tab navigation bar.

cheers

Seyed

System.StackOverflowException: The requested operation caused a stack overflow.
at at (wrapper managed-to-native) ObjCRuntime.Messaging:void_objc_msgSendSuper_IntPtr (intptr,intptr,intptr)
at UIKit.UITabBarController.set_SelectedViewController (UIKit.UIViewController value) [0x00041] in /Developer/MonoTouch/Source/monotouch/src/build/native/UIKit/UITabBarController.g.cs:246
at Xamarin.Forms.Platform.iOS.TabbedRenderer.set_SelectedViewController (UIKit.UIViewController value) [0x00000] in :0
at Xamarin.Forms.Platform.iOS.TabbedRenderer.OnPropertyChanged (System.Object sender, System.ComponentModel.PropertyChangedEventArgs e) [0x00000] in :0
at at (wrapper delegate-invoke) :invoke_void_object_PropertyChangedEventArgs (object,System.ComponentModel.PropertyChangedEventArgs)
at Xamarin.Forms.BindableObject.OnPropertyChanged (System.String propertyName) [0x00000] in :0
at Xamarin.Forms.MultiPage

1[Xamarin.Forms.Page].OnPropertyChanged (System.String propertyName) [0x00000] in <filename unknown>:0
  at Xamarin.Forms.MultiPage
1[Xamarin.Forms.Page].set_CurrentPage (Xamarin.Forms.Page value) [0x00000] in :0
at Xamarin.Forms.Platform.iOS.TabbedRenderer.UpdateCurrentPage () [0x00000] in :0
at Xamarin.Forms.Platform.iOS.TabbedRenderer.set_SelectedViewController (UIKit.UIViewController value) [0x00000] in :0
at Xamarin.Forms.Platform.iOS.TabbedRenderer.OnPropertyChanged (System.Object sender, System.ComponentModel.PropertyChangedEventArgs e) [0x00000] in :0
at at (wrapper delegate-invoke) :invoke_void_object_PropertyChangedEventArgs (object,System.ComponentModel.PropertyChangedEventArgs)
at Xamarin.Forms.BindableObject.OnPropertyChanged (System.String propertyName) [0x00000] in :0
at Xamarin.Forms.MultiPage
1[Xamarin.Forms.Page].OnPropertyChanged (System.String propertyName) [0x00000] in <filename unknown>:0
  at Xamarin.Forms.MultiPage
1[Xamarin.Forms.Page].set_CurrentPage (Xamarin.Forms.Page value) [0x00000] in :0
at Xamarin.Forms.Platform.iOS.TabbedRenderer.UpdateCurrentPage () [0x00000] in :0
at Xamarin.Forms.Platform.iOS.TabbedRenderer.set_SelectedViewController (UIKit.UIViewController value) [0x00000] in :0
at Xamarin.Forms.Platform.iOS.TabbedRenderer.OnPropertyChanged (System.Object sender, System.ComponentModel.PropertyChangedEventArgs e) [0x00000] in :0
at at (wrapper delegate-invoke) :invoke_void_object_PropertyChangedEventArgs (object,System.ComponentModel.PropertyChangedEventArgs)
at Xamarin.Forms.BindableObject.OnPropertyChanged (System.String propertyName) [0x00000] in :0
at Xamarin.Forms.MultiPage
1[Xamarin.Forms.Page].OnPropertyChanged (System.String propertyName) [0x00000] in <filename unknown>:0
  at Xamarin.Forms.MultiPage
1[Xamarin.Forms.Page].set_CurrentPage (Xamarin.Forms.Page value) [0x00000] in :0
at Xamarin.Forms.Platform.iOS.TabbedRenderer.UpdateCurrentPage () [0x00000] in :0
at Xamarin.Forms.Platform.iOS.TabbedRenderer.set_SelectedViewController (UIKit.UIViewController value) [0x00000] in :0
at Xamarin.Forms.Platform.iOS.TabbedRenderer.OnPropertyChanged (System.Object sender, System.ComponentModel.PropertyChangedEventArgs e) [0x00000] in :0
at at (wrapper delegate-invoke) :invoke_void_object_PropertyChangedEventArgs (object,System.ComponentModel.

Viewing all articles
Browse latest Browse all 58056

Trending Articles