Print Current ViewController
Add a symbolic breakpoint for the symbol -[UIViewController viewDidAppear:]
and add a debugger
command of po $arg1
. Make sure to activate the option “Automatically continue after evaluating
actions”. When active, this breakpoint prints the name of the view controller that is currently
presenting the visible views.