Quote:
Originally Posted by Esko2300
Now i need to check wich one of the views is the one im currently looking at
|
Your UIApplication object has a keyWindow property, which is a UIWindow. That, in turn, has a rootViewController, which has a view.
That may not be exactly what you need, though. The UIApplication object also has a windows property that's an NSArray of all your visible windows, ordered back to front. So the last entry there would be the topmost window, and then you can go from there.