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

Called everytime navigator changes.. #1

Open
ChangJoo-Park opened this issue Mar 10, 2016 · 1 comment
Open

Called everytime navigator changes.. #1

ChangJoo-Park opened this issue Mar 10, 2016 · 1 comment

Comments

@ChangJoo-Park
Copy link

I have 4 tab with raisedtab.

http://stackoverflow.com/questions/35906888/prevent-automatically-create-more-on-ios-tabbar/35914705#35914705

@itsKaynine
Copy link
Owner

Hi, thanks for the report. Unfortunately I am in between exams and could not test it out. But here's what i suggest:

        // ADD THIS IF CONDITION
        if !loaded {
            // Insert empty tab item at center index. In this case we have 5 tabs.
            self.insertEmptyTabItem("", atIndex: 2)

            // Raise the center button with image
            let img = UIImage(named: "icon_camera")
            self.addRaisedButton(img, highlightImage: nil)
        }

If it works feel free to submit a pull request, or i'll check this out later.

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

No branches or pull requests

2 participants