Get name of current view residing in a UIWindow

Posted by jakob on Stack Overflow See other posts from Stack Overflow or by jakob
Published on 2010-04-18T15:30:29Z Indexed on 2010/04/18 15:33 UTC
Read the original article Hit count: 382

Filed under:
|
|

Hello experts!

Let's say I add a new view to my UIWindow

[windowRoot addSubview:MyNewView.view];

Is it possible to retrieve the name of that view later on if I have reference to windowRoot? Something like:

[windowRoot getCurrentViewName]  

Thank You

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about iphone