iOS7Menu icon indicating copy to clipboard operation
iOS7Menu copied to clipboard

ISMViewController will not let me use its' private method.

Open psing008 opened this issue 12 years ago • 0 comments

_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.

psing008 avatar Aug 22 '13 21:08 psing008