Giter VIP home page Giter VIP logo

Comments (6)

wwmz avatar wwmz commented on August 18, 2024

你是cocopod的 还是直接拉的 ?我试了下demo运行没问题哦 还是1月7号 我可能pod没更新 你下载demo看看?

from wmzdialog.

wwmz avatar wwmz commented on August 18, 2024

看了下代码提交记录 确实是pod1.0.6版本没更新这个bug呢 你更新到1.0.7试下哦 我同步了

from wmzdialog.

wwmz avatar wwmz commented on August 18, 2024

我知道什么问题了 已解决 代码更新了

from wmzdialog.

Gantios avatar Gantios commented on August 18, 2024

1.1.0,又出现了

from wmzdialog.

wwmz avatar wwmz commented on August 18, 2024

NSDate *minDate = [NSDate date];
NSDate *maxDate = [[NSDate date] dateByAddingTimeInterval:3600 * 24 * 356 * 8];
Dialog()
.wEventOKFinishSet(^(id anyID, id otherData) {
NSLog(@"选中 %@ %@",anyID,otherData);
})
//年月日时分秒|年月日|年月| 的格式 设置时间限制才有效 其余没有具体时间的约束无效
.wDateTimeTypeSet(@"yyyy年MM月dd日")
// .wDateTimeTypeSet(@"yyyy-MM-dd HH:mm:ss")
//最小时间
.wMinDateSet(minDate)
//最大时间
.wMaxDateSet(maxDate)
//此时最好关闭循环防止出错
.wPickRepeatSet(NO)
.wTypeSet(DialogTypeDatePicker)
.wStart();

有什么问题吗 最小时间不是4月9日吗 我刚才运行了一下

from wmzdialog.

Gantios avatar Gantios commented on August 18, 2024

NSDate *minDate = [NSDate date];
NSDate *maxDate = [[NSDate date] dateByAddingTimeInterval:3600 * 24 * 356 * 8];
Dialog()
.wEventOKFinishSet(^(id anyID, id otherData) {
NSLog(@"选中 %@ %@",anyID,otherData);
})
//年月日时分秒|年月日|年月| 的格式 设置时间限制才有效 其余没有具体时间的约束无效
.wDateTimeTypeSet(@"yyyy年MM月dd日")
// .wDateTimeTypeSet(@"yyyy-MM-dd HH:mm:ss")
//最小时间
.wMinDateSet(minDate)
//最大时间
.wMaxDateSet(maxDate)
//此时最好关闭循环防止出错
.wPickRepeatSet(NO)
.wTypeSet(DialogTypeDatePicker)
.wStart();

image

image

直接从GitHub上下载的,然后改了

from wmzdialog.

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.