How to get the current view controller in iPhone application
How to get the current view controller in iPhone application
- Subject: How to get the current view controller in iPhone application
- From: "Tharindu Madushanka" <email@hidden>
- Date: Wed, 7 Jan 2009 09:50:26 +0530
Hi
Can I get the class type of the current view controller running in the
application, I have Tab Controller and Navigation Controller in my
application, at some time I need to get the current view controller using
code, can any body please tell me a method or code segment to do this.
isKindOfClass: can be used to test the class type. But how can I get the
current active view contrller? please help me to solve this.
Thank you,
Tharindu
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden