Talk to navigation controller while displaying modal view?

Up vote 0 down vote favorite share g+ share fb share tw.

So I need to //do something to the visible view controller while displaying a modal view controller. Normally I would do something like... if (self. NavigationController.

VisibleViewController == self. MyViewController) { //do something } This works for me everywhere else, but now that I am doing this while displaying a modal controller I can not fall into it. I have tried a few different ways of equal (isEqual:, ((this==this)), etc) but none of them work.

Any suggestions? Thanks. Objective-c ios xcode uinavigationcontroller modalviewcontroller link|improve this question asked Jul 29 '11 at 5:19MRB182 25% accept rate.

I ended up getting this to work. It was not the issue of being able to talk to it, but what I was trying to do. – MRB Jul 29 '11 at 20:56.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions


Thank You!
send