how can I get the topmost view at any time in iphone sdk4?
+2
A:
Hi,
it would be helpful if you ask your question a bit more in detail, but anyway you can try it with this line of code:
UIView *topMostView = [[[[UIApplication sharedApplication] keyWindow] subviews] objectAtIndex:0];
cheers, anka
anka
2010-06-24 16:11:59
Thanks Anka. I am sure this will be useful at a later time.
2010-06-24 19:00:57