Giter Site home page Giter Site logo

Comments (10)

iTofu avatar iTofu commented on May 14, 2024

请问您这边多 window 的使用场景大致是什么样的?

from lcactionsheet.

cochat avatar cochat commented on May 14, 2024

图片预览使用的是window,里面有个长按操作,要弹出来这个选项,期待。。。

from lcactionsheet.

iTofu avatar iTofu commented on May 14, 2024

能否把图片预览时的 window 设为 keyWindow 呢?按 iOS 系统的一些实现(比如 UIAlertView 的生命周期)来讲,被用户响应的 window 应该被切换成 keyWindow 吧?

from lcactionsheet.

cochat avatar cochat commented on May 14, 2024

我没有设置为keyWindow,也能响应事件啊,我先换成keyWindow试试。。。

from lcactionsheet.

iTofu avatar iTofu commented on May 14, 2024

换吧…… 本来响应的 window 就应该是 keyWindow,其次这些东西按系统做法来肯定是最好的…… 切换 keyWindow 我以前通过 UIAlertView 验证过:

http://note.leodev.me/2015/12/29/iOS-How-to-implement-the-UIAlertView-of-the-system/

from lcactionsheet.

cochat avatar cochat commented on May 14, 2024

好的,还有就是一个,能在任意位置插入buttongTitles吗?

from lcactionsheet.

iTofu avatar iTofu commented on May 14, 2024

目前只能拼到末尾,任意位置插入需要再提供个方法,你们还有这种需求啊?

from lcactionsheet.

cochat avatar cochat commented on May 14, 2024

是的,我们先出来一部分选项,满足条件时,再加入一些到里面,比如识别屏幕上的二维码,就是先出来一部分,等识别完认为是二维码时,在某个位置加入一项

from lcactionsheet.

iTofu avatar iTofu commented on May 14, 2024

已实现该需求,见 V 3.1.0

from lcactionsheet.

iTofu avatar iTofu commented on May 14, 2024

Done.

from lcactionsheet.

Related Issues (20)

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.