Skip to content
This repository has been archived by the owner on Apr 24, 2022. It is now read-only.

getting incorrect index in contentViewControllerForTabAtIndex #89

Open
hammad opened this issue Oct 23, 2014 · 2 comments
Open

getting incorrect index in contentViewControllerForTabAtIndex #89

hammad opened this issue Oct 23, 2014 · 2 comments

Comments

@hammad
Copy link

hammad commented Oct 23, 2014

I have 4 tabs each with a UITableViewController. When try to swipe to next tab I get this index 9223372036854775808. It works fine when I tap on the corresponding tab.

@iltercengiz
Copy link
Owner

Can you provide any logs or sample code? I didn't come across to any problem like that.

@mihirbgurjar
Copy link

Below Code will be executed every time you swipe or select tab . (Add it in .m file)

- (void)viewPager:(ViewPagerController *)viewPager didChangeTabToIndex:(NSUInteger)index
  {

         NSInteger *ind=index;
  }

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

No branches or pull requests

3 participants