Hi - how can i get the currently active view (the main view currently being viewed by the user) from the app delegate for references sake?
A:
Define "main view". There could be several UIView
objects (and subclasses) on-screen at once. Which one would you expect to get?
Shaggy Frog
2010-09-14 00:54:42
Say the user is currently on a screen to perform a specific action, I want to get the viewcontroller for the container view for that screen
David
2010-09-14 01:39:44
You'll have to keep track of that yourself. Like views, there could be more than one view controller active on the screen.
Shaggy Frog
2010-09-14 03:08:26