Created
September 12, 2014 09:45
-
-
Save pedrolamas/fc47f1d0e32fc76a3986 to your computer and use it in GitHub Desktop.
Xamarin UINavigationController.ViewDidLoad running before constructor
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Confirmed by looking at call stack: the call order is base ctor -> ViewDidLoad -> local ctor.
I see that the expected .NET behavior for constructors is correct (sorry about that!), but in fairness doesn't make much sense to me to see the ViewDidLoad running from base ctor!