Hint: iOS8 need to change a code, that is, set ScrollView scroll to the bottom of the code, you can remove the running source
It is quite a bother to write yourself! Originally intended to use the Internet for a long time elcimagepickercontroller, but some features do not meet my requirements, in the above changes, but also feel that the idea is not clear, and a lot of code can not understand, so according to their own ideas to write an example! Basically in line with their expectations, but do not know in hundreds of photos will not stutter, take a step to calculate a step! The following are expected:
Click "Select Photo" to open the image 2; open the "Local Camera" album by default, you can click "album" to select photos from other albums, click "OK" to return to interface 1 and display the selected picture in UITableView.
There is a need to understand knowledge:
Alassetslibrary:
Apple's official:
https://developer.apple.com/library/ios/documentation/AssetsLibrary/Reference/ALAssetsLibrary_Class/Reference/ Reference.html
If the English is not good, then this is I think the description is the clearest, because my English is not very good!
http://blog.csdn.net/shenjx1225/article/details/9293269
Among the problems encountered:
1, need to set the global alassetslibrary, otherwise alasset (model) in the delivery will be destroyed with the creation of the page lost content;
2. The child page passes the value to the parent page;
Not much to say, you can download the source view.
csdn:http://download.csdn.net/detail/wuwo333/8131841
iOS local photo multi-Select implementation