Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to know if a screen was presented form a "More" tab in a UITabBarController #710

Open
markrickert opened this issue Jun 22, 2015 · 1 comment
Labels

Comments

@markrickert
Copy link
Contributor

Thoughts on adding a method that tells the user if a Screen was presented from the "More" tab in a UITabBarController?

Basically:

def more?
   self.parentViewController.is_a?(UIMoreNavigationController)
end

Thoughts on the name of the method? This will likely be untestable 😢

@jamonholmgren
Copy link
Owner

Will self.parentViewController always be present, or should we protect against nil ? Otherwise, I'm good with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants