怎样跳转到系统日历?
ringa_lee
[[UIApplication sharedApplication] openURL:[NSURL URLWithString: @"calshow://"]];
指定日期:
NSInteger interval = [[NSDate date]timeIntervalSinceReferenceDate]; NSURL *url = [NSURL URLWithString:[NSStringstringWithFormat:@"calshow:%ld", interval]]; [[UIApplication sharedApplication] openURL:url];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString: @"calshow://"]];
指定日期: