Comments (2)
-
(void)getPhotoListOfGroup:(ALAssetsGroup *)alGroup result:(void (^)(NSArray *))result{
_assetPhotos = [[NSMutableArray alloc] init];
[alGroup setAssetsFilter:[ALAssetsFilter allPhotos]];
[alGroup enumerateAssetsUsingBlock:^(ALAsset *alPhoto, NSUInteger index, BOOL *stop) {if(alPhoto == nil){ result(_assetPhotos); return; }
// [_assetPhotos addObject:alPhoto];
[_assetPhotos insertObject:alPhoto atIndex:0];
}];
}
注释部分改为下面这样那个就快要达到相反效果,不过相册里面也会相应变成相反的就是了
from uuphotoactionsheet.
图片排序问题考虑到使用习惯,以最新的排在最前面,所以是insert
from uuphotoactionsheet.
Related Issues (9)
- 东西很棒,性能有待提高,滑动不流畅 HOT 1
- 很赞的图片选择器,使用中发现一些问题。 HOT 1
- 发现个bug,嘿嘿 HOT 1
- 发现bug一枚
- 滑动不流畅啊,求解决。
- 6plus 无法找到默认相册,显示为空的
- 关闭视频拍摄 HOT 1
- iPad 有问题,图片加载不出来
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uuphotoactionsheet.