I have a custom tabbar renderer for iOS in a Xamarin.Forms
app. In certain cases, I need to stop the ItemSelected
event. Essentially, if the user taps the item on the tabbar, I need to perform a custom action and NOT navigate.
It seems that the ItemSelected
event is too late to do this. I know that there is a ShouldShowViewController
method on the UITabbarController
, but this has been abstracted away but the TabbarRenderer
.
How can I achieve this?
Answers
@ColeX can we make this on Xamarin.Forms??
That is Xamarin.Forms. This is the same thing as I showed you on stack overflow, just where it is is different, IOW I had you do:
End result is identical though.