Open goodman-capu opened 8 years ago
Actually you have selected 3 photos... 3 photos is shown as selected in shaded images ... 2,3,5 one is shaded ..
But there should be a checkmark at the bottom of each selected image...when using cocoaPods 0.3 version
it also reappear in cocoaPods 1.0
you can use cocoapods 0.39
How to fix this?
Sorry, development of this project is suspended. Please read the home page.
I fixed this issue in my fork. https://github.com/logicsb/CTAssetsPickerController
I hope that help
@logicsb How to install your fork?
I use this:
pod 'CTAssetsPickerController', :git => 'https://github.com/logicsb/CTAssetsPickerController.git'
But checkmark not appeared.
In the podfile i'm using
pod 'CTAssetsPickerController', :git => 'https://github.com/logicsb/CTAssetsPickerController.git', :branch => 'master'
and cocoapods 1.0.0
@logicsb Unfortunately it did not help.
Try this
rm -rfd Pods rm Podfile.lock pod cache clean --all rm -rfd ~/Library/Developer/Xcode/DerivedData/* pod install
@logicsb And it did not help, but thanks for your help.
Get a copy of CTAssetsPickerController.bundle and add it to target, then image will show.
@DimonDeveloper I followed the instructions from @NSDeveloper (including adding the CTAssets.bundle to the target of my project) and I can see the checkmark in my project.
Thanks!
I added bundle to podspec with a different way to fix it: https://github.com/asivura/CTAssetsPickerController/commit/3ea553edf94e359219e5539fb71fd8819532baea
You can use my fork to fix this issue
pod 'CTAssetsPickerController', :git => 'git@github.com:asivura/CTAssetsPickerController.git', :branch => 'master'
@DimonDeveloper to resolve this issue, you will need the fork of @logicsb and need to change one line of code
In UIImage+CTAssetsPickerController, replace
return [UIImage imageNamed:name inBundle:[NSBundle ctassetsPickerBundle] compatibleWithTraitCollection:nil];
with
return [UIImage imageNamed:name];
Finally I've change a way how images adds to pod. Please take a look this commit https://github.com/asivura/CTAssetsPickerController/commit/3ea553edf94e359219e5539fb71fd8819532baea
I tried all of the solutions above and nothing worked. I then forget @asivura's project and changed the line that @shwetsolanki was talking about and it worked.
Edit: Actually i think this is also fixed in the latest release of this library (3.3.2-alpha), at least it works for me.