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

add initWithCode and init AXStretchableHeaderTabViewController's view… #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

homekuanyi
Copy link

… in viewDidLoad instead of initWithNibName; add switchToIndex to switch to other child view controller

i hope u would consider my changes:

  1. we can draw a UIViewController and set it to AXStretchableHeaderTabViewController, and IB can init it correctly now. since ios will init view controller's view automatically, it's better to do view init work in viewDidLoad instead of initWithNibName.
  2. add switchToIndex function. i call self.selectedIndex = 1 to select a tab, but it doesn't work correctly.

… in viewDidLoad instead of initWithNibName; add switchToIndex to switch to other child view controller
@homekuanyi
Copy link
Author

i have test it in ios 8.4

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

Successfully merging this pull request may close these issues.

None yet

1 participant