Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

'NSInvalidArgumentException', reason: 'attempt to scroll to invalid index path: #44

Open
ranjith-ramachandran opened this issue Mar 13, 2016 · 2 comments

Comments

@ranjith-ramachandran
Copy link

When calling the selectItem just after calling reloadData, we get a crash "'NSInvalidArgumentException', reason: 'attempt to scroll to invalid index path:".

pickerView.reloadData()
pickerView.selectItem(item)
Need to know what is the best way to call selectItem after the making sure the collection view inside the AKPickerView is loaded.

@nativix
Copy link

nativix commented Dec 17, 2016

I have the same issue, did you find an answer?

@abignon
Copy link

abignon commented Apr 3, 2017

Same problem here, any solution ?

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