Code Monkey home page Code Monkey logo

zcactiononcalendar's Introduction

ZCActionOnCalendar

添加事件到日历以及提醒事项 // 版本说明 iOS研究院 305044955 /* 1.0版本示例 初始建立 将事件添加到系统日历中,并且添加到提醒事项中 / /代码示例 NSDatestartData=[NSDate dateWithTimeIntervalSinceNow:10]; NSDateendDate=[NSDate dateWithTimeIntervalSinceNow:20]; //设置事件之前多长时候开始提醒 float alarmFloat=-5; NSStringeventTitle=@"提醒事件标题"; NSStringlocationStr=@"提醒副标题"; //isReminder 是否写入提醒事项 [ZCActionOnCalendar saveEventStartDate:startData endDate:endDate alarm:alarmFloat eventTitle:eventTitle location:locationStr isReminder:YES]; //注意 在参数第十八行需要设置不同的参数,然后进行判断是事件提醒还是日历事件 //EKEntityMaskEvent提醒事项参数(该参数只能真机使用) EKEntityTypeEvent日历时间提醒参数

zcactiononcalendar's People

Contributors

149393437 avatar

Watchers

James Cloos avatar 唐伟 avatar

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.