Merge pull request #56 from krummler/master
Small fix in demo App, updated gif example with new features and fixes
This commit is contained in:
commit
36a136b190
|
|
@ -94,7 +94,8 @@ class ViewController: UIViewController, UICollectionViewDataSource, UICollection
|
|||
|
||||
// MARK: - SKPhotoBrowserDelegate
|
||||
func didShowPhotoAtIndex(index: Int) {
|
||||
// do some handle if you need
|
||||
collectionView.visibleCells().forEach({$0.hidden = false})
|
||||
collectionView.cellForItemAtIndexPath(NSIndexPath(forItem: index, inSection: 0))?.hidden = true
|
||||
}
|
||||
|
||||
func willDismissAtPageIndex(index: Int) {
|
||||
|
|
@ -122,6 +123,10 @@ class ViewController: UIViewController, UICollectionViewDataSource, UICollection
|
|||
|
||||
return collectionView.cellForItemAtIndexPath(NSIndexPath(forItem: index, inSection: 0))
|
||||
}
|
||||
|
||||
override func preferredStatusBarStyle() -> UIStatusBarStyle {
|
||||
return .LightContent
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 3.1 MiB After Width: | Height: | Size: 3.2 MiB |
Loading…
Reference in New Issue