GithubHelp home page GithubHelp logo

Comments (1)

Jonhory avatar Jonhory commented on September 24, 2024

查看 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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.