Skip to content

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.

1 participant