Wiki
Clone wikiAATKit iOS / AATKit2 / extendedDebug
+ (void) extendedDebug: (BOOL) yesOrNo; //default is set to YES
The method extendedDebug enables an internal assertion which is checked on when the method
+ (void) setPlacementPos:(CGPoint) pos forPlacement:(id) placement
is called.
This assertions checks whether the position of a placement is manipulated from the method viewWillAppear. Changing the position of a placement during the viewWillAppear method of your view controller can lead to an unstable application.
If the assertion fails, the following text is printed to the console:
@"view elements should not be manipulated from method viewWillAppear. Please use viewDidAppear. If you know what you are doing you can disable the extended debug ([AATKit extendedDebug: NO])"
back to: Header documentation
Updated