change README

This commit is contained in:
KazukiTanaka 2017-05-09 16:56:47 +09:00
parent b0fdba4fd2
commit d822cdf449
2 changed files with 8 additions and 1 deletions

View File

@ -126,6 +126,8 @@ class DemoListViewController: UITableViewController, NohanaImagePickerController
@objc
func showCustomUIPicker() {
ColorConfig.backgroundColor = UIColor.lightGray
let picker = NohanaImagePickerController()
picker.delegate = self
picker.assetBundle = Bundle.main

View File

@ -64,8 +64,13 @@ picker.canPickAsset = { (asset:Asset) -> Bool in
return false
}
// If set to Bundle Object, You can change 'NohanaImagePicker.strings' and 'NohanaImagePicker.xcassets'.
picker.assetBundle = Bundle.main
// Color
ColorConfig.backgroundColor = UIColor.redColor()
ColorConfig.backgroundColor = UIColor.lightGray
ColorConfig.emptyIndicator = UIColor.lightGray
ColorConfig.AlbumList.momentCellSeparator = UIColor.lightGray
```
## Requirements