Hi,
I have a small doubt. I have a NSObject class where I am trying to display an alert view. So after the alert view is displayed when I tap on OK button I want to push a navigation controller onto the stack. Can I push a navigation controller from general NSObject class? Please let me know guys..thanks for your time.
homeView is the View Controller you want to show. You need to show it FROM somewhere (a navigation controller, if you want to push it onscreen).
You have a NSObject, do you have a navigationController property declared in your class ? Is it of type UINavigationController ? Do you have it properly set up ?
All of these must be good in order to work.
So, I made navigation controller a property now in NSObject class and I am using this property in the clickedButtonAtIndex method but nothing happens..