Objective c customizing EKEventEditViewController

点点圈 提交于 2019-12-23 03:22:47

问题


I am displaying event edit View using this code

-(void)editEvent:(EKEvent *)events{

          EKEventEditViewController *addController = [[EKEventEditViewController alloc]  initWithNibName:nil bundle:nil];
    addController.delegate = self;
    addController.eventStore = [SharedEventStore defaultEventStore];
   addController.event = events;

[[NSUserDefaults standardUserDefaults]  objectForKey:KCalendarIdentifier]];

    addController.editViewDelegate = self;
    addController.navigationBar.barStyle = UIBarStyleDefault;
    [self.navigationController presentViewController:addController animated:YES completion:nil];


    [addController release];


}

Now my Requiremet is to disable the title of Event in that View, i mean i do not want the user to be able to edit the title of event inside EKEventEditViewController view, but i can't figure it out from long time, plz. guide me in this Thanx and Regards.

来源:https://stackoverflow.com/questions/17674310/objective-c-customizing-ekeventeditviewcontroller

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!