Closed ianvink closed 9 years ago
When are you seeing it not fire? Is it nested inside another ViewController?
Yes, I have a Class that inherits from FlyoutNavigation.cs
I probably missed calling base somewhere, but for now I'm good.
Subclassing shouldn't cause it not to fire. However if you have var parent = new UIViewController(); var menu = new FlyoutNavigation(); parent.View.Add(menu.View);
That could easily cause it. You need to add the Child to the parent with parent.AddChildviewcontroller(menu);
Strange that it is happening now. I have it in several dozen published apps (wonderful by the way!). Xamarin may have changed some internals.
Any way you can create a small sample showing the issue? I am curious.
i'll see what I can do. I noticed my fix doesn't work if a modal advert if pushed after the screen loads so these is something there.
On Sun, Mar 29, 2015 at 6:31 PM, James Clancey notifications@github.com wrote:
Any way you can create a small sample showing the issue? I am curious.
— Reply to this email directly or view it on GitHub https://github.com/Clancey/FlyoutNavigation/issues/74#issuecomment-87508758 .
This is probably a hack fix below, but in my case when ViewWillAppear does not fire I use it to ensure it does.
(I use FlyoutNavigation.cs in the AppDelegate)