I have View controller which has collection view, on 1st time load everything works fine, whenever i call collectionview.rloadData() with updated data, it crashes and gives error as mentioned in quesn title, Please help.
Presenting view controllers on detached view controllers is discouraged, when reloads collectionView
Asked
Active
Viewed 41 times
1
-
http://stackoverflow.com/questions/19890761/warning-presenting-view-controllers-on-detached-view-controllers-is-discourage – Santosh Aug 11 '16 at 18:26
-
Can you throw some piece of code at us. – Harsh Aug 11 '16 at 18:29
-
This is just a warning. This is not the reason for the crash. Submit more code – LIH Aug 11 '16 at 18:42