Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/date/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Date UILocalNotification with repeatInterval如何设置完成日期?_Date_Uilocalnotification - Fatal编程技术网

Date UILocalNotification with repeatInterval如何设置完成日期?

Date UILocalNotification with repeatInterval如何设置完成日期?,date,uilocalnotification,Date,Uilocalnotification,我有一个UILocalNotification,其repeatInterval设置如下: UILocalNotification *ln = [[UILocalNotification alloc] init]; ln.alertBody = text; ln.timeZone = [NSTimeZone defaultTimeZone]; ln.fireDate = [self dateFromString:atDate]; ln.repea

我有一个UILocalNotification,其repeatInterval设置如下:

UILocalNotification *ln = [[UILocalNotification alloc] init];
ln.alertBody         = text;
ln.timeZone          = [NSTimeZone defaultTimeZone];
ln.fireDate          = [self dateFromString:atDate];
ln.repeatInterval = NSDayCalendarUnit;
我想在指定日期停止重复

我该怎么做

谢谢,
Simone

根据这里的答案:,在UILocaNotification文档中没有找到此类属性。

可能的重复项