Comments (1)
查看 JHImageListVC.swift 80行左右的代码,看截图你手机语言设置为非中文了,想要不出现 Hidden 文件夹,在一下判断时增加 item.localizedTitle == “Hidden" 即可
if item.localizedTitle == "最近删除" || item.localizedTitle == "已隐藏" {
print("移除:",item.localizedTitle ?? "")
continue
}
// 移除 图片为空的相册
if assetsFetchResult.count < 1 {
print("移除图片为空:",item.localizedTitle ?? "")
continue
}
另外一个问题,想要默认进入 Recently Added 文件夹,在 JHImageListVC.swift 90行左右 ,有 // 将 所有照片 数据源放到顶部 的代码,
for item in items {
if item.title == "所有照片" {//将这里的 所有照片 改为 “Recently Added” 或 “最近添加” 即可。
if let index = items.index(where: { $0 == item } ) {
tempItem = item
items.remove(at: index)
break
}
}
}
以上,希望能给你帮助。
from jhuiimagepickercontroller-for-swift.
Related Issues (2)
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 jhuiimagepickercontroller-for-swift.