Results 3 issues of Xing Chen

扫描结果出来后,如果点击了左边的任意单元格就Crash

1. Init only work by initWithFrame, can't set frame after init. (you should implement layoutsubviews) 2. Collection reloadData sometimes need `[self.collectionView.collectionViewLayout invalidateLayout]`;

Some of the scenes, SwViewCapture will action failed without any tip. The feature add a BOOL result for capture action.

enhancement