Small fix in demo App, updated gif example with new features and fixes

This commit is contained in:
Kevin Rummler 2016-03-16 17:22:37 +01:00
parent e3a5267edf
commit 28f41e39e0
2 changed files with 6 additions and 1 deletions

View File

@ -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