Skip to content

ISMViewController will not let me use its' private method.  #3

@psing008

Description

@psing008

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions