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

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -