I got expected expression error on DELAY(0.5) when running with xcode9.0.
It can run and no error in old xcode 8.
dispatch_after(DELAY(0.5),dispatch_get_main_queue(),^(void){
[_collectionView scrollToItemAtIndexPath:selectedIndexPath atScrollPosition:UICollectionViewScrollPositionRight animated:true];});
Thanks a lot for any ideas / suggestions / etc.