What are the consequences of overriding the internal methods of the UIViewController?
[UIViewController viewDidMoveToWindow:shouldAppearOrDisappear:]gives me some problems. It changes the size of my frame to values ββthat I sometimes do not want . I donβt even know where it selects the new frame values ββ(it is close to the size of the supervisor, where I add it, but it is disabled by 2px). Link: this question I also need help about.
I tried to define an empty method - (void)viewDidMoveToWindow:(UIWindow *)window shouldAppearOrDisappear:(BOOL)flagin my view controller. The error has disappeared ..> & L;
Does anyone know if it's worth doing an override -viewDidMoveToWindow:shouldAppearOrDisappear:? Or some other workaround?
Or does anyone know when and why he -viewDidMoveToWindow:shouldAppearOrDisappear:likes to resize a frame sometimes ?
Thanks in advance.
source
share