使用以下代码显示该视图上缺少EKCalendarChooser View.But Edit按钮。
EKEventStore * eventStore = [[EKEventStore alloc] init];
EKCalendarChooser *calendarChooser = [[EKCalendarChooser alloc]
initWithSelectionStyle:EKCalendarChooserSelectionStyleMultiple
displayStyle:EKCalendarChooserDisplayAllCalendars
eventStore:eventStore];
calendarChooser.modalTransitionStyle = UIModalTransitionStyleCoverVertical;
calendarChooser.delegate = self;
calendarChooser.navigationItem.hidesBackButton = YES;
[calendarChooser.navigationController setNavigationBarHidden:NO];
calendarChooser.navigationItem.backBarButtonItem = calendarChooser.editButtonItem;
[self.navigationController pushViewController:calendarChooser animated:NO];
感谢您的帮助..
答案 0 :(得分:0)