user1179681
user1179681

Reputation: 165

How to know Present view of UINavigation controller iPhoneSDK

i have one navigation controller, by using that i am pushing my view

here my problem is how to know that which view is presently appearing on my navigation controller

can any one of you give me the answer

Upvotes: 0

Views: 116

Answers (1)

Peter
Peter

Reputation: 541

Probably you want to look at the topViewController property of your UINavigationController (or perhaps its visibleViewController if you are using modal views). The current view would then be referenced by the view property of the returned controller.

Upvotes: 1

Related Questions