ios - 怎样跳转到系统的日历?
ringa_lee
ringa_lee 2017-04-17 14:36:55
0
1
867

怎样跳转到系统日历?

ringa_lee
ringa_lee

ringa_lee

membalas semua(1)
刘奇

[[UIApplication sharedApplication] openURL:[NSURL URLWithString: @"calshow://"]];

指定日期:

NSInteger interval = [[NSDate date]timeIntervalSinceReferenceDate];   
NSURL *url = [NSURL URLWithString:[NSStringstringWithFormat:@"calshow:%ld", interval]];
[[UIApplication sharedApplication] openURL:url];
Muat turun terkini
Lagi>
kesan web
Kod sumber laman web
Bahan laman web
Templat hujung hadapan