• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to get the current view controller in iPhone application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: How to get the current view controller in iPhone application
      • From: Dave DeLong <email@hidden>
  • Prev by Date: Re: Asyncronous message handling
  • Next by Date: Re: Binary search on sorted NSArray in Cocoa?
  • Previous by thread: Re: 2-pixel borders in NSSplitView - I want 1 pixel. [SOLVED]
  • Next by thread: Re: How to get the current view controller in iPhone application
  • Index(es):
    • Date
    • Thread