ISMViewController will not let me use its' private method.
_PROPS_ This control has helped me out a lot, and I thank the Author dearly.
I am trying to use the function switchToViewController:viewControllerIndex, but it simply does not run it. I declared it as a property in App delegate. <code @property (nonatomic,strong) ISMViewController *control;
I then define my App Delegate it in my App-Prefix.pch as #define AppDelegate ((ISMAppDelegate *)[UIApplication sharedApplication].delegate)
So I am able to access its' properties globally.
but when I am in my View Controller, no matter how I call the function, it simple does not work outside of its' own ViewController. :/
[AppDelegate.control switchToViewController:1] has no effect at all.
In ISMViewController, I made its' method public as well, so I can call them, But neither switchToViewController works or .selectedIndex to switch to different view programatically.