iphone谷歌提醒问题
我正在使用GDataAPI将iphone应用程序与谷歌日历集成。 完成事件添加、删除、获取和更新 但提醒未添加到日历事件中 我的代码是: NSDate*anHourFromNow=[NSDate DATE WITH TIME INTERVALICENSNOW:60*60] GDataDateTime*startDateTime=[GDataDateTime dateTimeWithDate:[NSDate日期] 时区:[NSTimeZone systemTimeZone]] GDataDateTime*endDateTime=[GDataDateTime dateTimeWithDate:anHourFromNow 时区:[NSTimeZone systemTimeZone]] GDataReminder*提醒=[GDataReminder提醒] [提醒设置分钟:@“10”] GDataWhen*when=[GDataWhen whenwhithstarttime:startDateTime endTime:endDateTime] [添加提醒时:提醒] [事件添加时间:何时] 如果(事件) { //发布事件 NSURL*altLinkURL=[[calendar alternateLink]URL] [service fetchEntryByInsertingEntry:事件 forFeedURL:altLinkURL 代表:无 didFinishSelector:nil]; }iphone谷歌提醒问题,iphone,gdata-api,gcal,Iphone,Gdata Api,Gcal,我正在使用GDataAPI将iphone应用程序与谷歌日历集成。 完成事件添加、删除、获取和更新 但提醒未添加到日历事件中 我的代码是: NSDate*anHourFromNow=[NSDate DATE WITH TIME INTERVALICENSNOW:60*60] GDataDateTime*startDateTime=[GDataDateTime dateTimeWithDate:[NSDate日期] 时区:[NSTimeZone systemTimeZone]] GDataDateT
使用此代码在日历中添加了事件,但当我在谷歌日历中手动查看此事件时,提醒不会出现。提醒应该有一个明确的设置方法:调用;讨论很重要