xamarin.ios - Why does UITabBarController sometimes call ViewDidLoad during its construction? -
i'm working class derived uitabbarcontroller @ present.
when load tab bar topmost view during appdelegate setup constructor called first, , then, after construction complete, viewdidload invoked.
however, if create tab view controller later in app (e.g. second or third "page"), virtual viewdidload call made during construction of uitabbarcontroller. isn't causing virtual function table problems (the child class being invoked) causing particular problems me because can't access construction parameters in viewdidload.
as workaround, i'm detecting firing of viewdidload() , adding later call during own constructor. i'd quite understand going on: why uitabbarcontroller call viewdidload during construction?
Comments
Post a Comment