I add two icarousel in one controller,when i click the first one,then i change the second one dataSource,after reloadData. I found when the dataSource of the first icarousel is bigger than the second one ,it will crash .it still remember the first index .Is there a better way?
I add two icarousel in one controller,when i click the first one,then i change the second one dataSource,after reloadData. I found when the dataSource of the first icarousel is bigger than the second one ,it will crash .it still remember the first index .Is there a better way?