Skip to content

Commit

Permalink
资源路径
Browse files Browse the repository at this point in the history
  • Loading branch information
abu0306 committed Aug 30, 2017
1 parent 24de530 commit 6f5abd1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CnPhoto/CnPhoto/CnPhotoList.swift
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ fileprivate class CnPhotoListCell: UICollectionViewCell {
if UserDefaults.standard.bool(forKey: cnIsDoublePickerKey) {
hookImgView.frame = CGRect(x: photoListImgW - 23, y: 3, width: 20, height: 20)
hookImgView.backgroundColor = UIColor.clear
hookImgView.image = UIImage(contentsOfFile: bundlePath?.appending("/") ?? "")
// hookImgView.image = UIImage(contentsOfFile: bundlePath?.appending("/") ?? "")
contentView.addSubview(hookImgView)
hookImgView.autoresizingMask = [.flexibleHeight , .flexibleWidth]
}
Expand Down Expand Up @@ -253,9 +253,9 @@ fileprivate class CnPhotoListCell: UICollectionViewCell {

if selectImageName == nil && defaultImgName == nil {
if isContains == true {
hookImgView.image = UIImage(contentsOfFile: bundlePath?.appending("/cnPhotoSelect") ?? "")
// hookImgView.image = UIImage(contentsOfFile: bundlePath?.appending("/cnPhotoSelect") ?? "")
}else{
hookImgView.image = UIImage(contentsOfFile: bundlePath?.appending("/cnPhotoDefault") ?? "")
// hookImgView.image = UIImage(contentsOfFile: bundlePath?.appending("/cnPhotoDefault") ?? "")
}
}else{
if isContains == true {
Expand Down

0 comments on commit 6f5abd1

Please sign in to comment.