guilhermearaujo / GUITabPagerViewController

MIT License
454 stars 69 forks source link

the indicator is wrong displaced when appear #22

Closed maimake closed 7 years ago

maimake commented 8 years ago
- (NSInteger)numberOfViewControllers {
  return 3;
}

qq20151011-0 2x

mariospoly commented 8 years ago

I had the same issue. I solved it by adding the following line: [self animateToTabAtIndex:index animated:NO]; to the end of the following function in GUITabScrollView.m file

josluimg commented 8 years ago

Me too. Thanks for the fix @mariospoly . It solved the problem

smitshah27 commented 8 years ago

try writing this line of code in GUITabScrollView.m file after line no 133 (i.e adding constraints) [self layoutIfNeeded];

guilhermearaujo commented 7 years ago

Fixed with #32. A new Pod release will be out soon.