Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8970439
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T17:43:40+00:00 2026-06-15T17:43:40+00:00

I have a UITableViewController that push a EKEventViewController on selecting a row using this

  • 0

I have a UITableViewController that push a EKEventViewController on selecting a row using this code:

-(void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender{
     if([segue.identifier isEqualToString:@"eventHandler"]){
         if (_currentPanel.event_identifier != nil) {
             self.event = [[[CalendarHelper sharedInstance] store] eventWithIdentifier:_currentPanel.event_identifier];
    } else {
        EKEventStore *store = [[CalendarHelper sharedInstance] store];
        self.event = [EKEvent eventWithEventStore:store];
        _event.startDate = self.qualifyDate;
        _event.endDate = self.qualifyDate;

        _event.title = @"test identifier" ;
        _event.calendar = [[CalendarHelper sharedInstance] calendar];
    }
    self.eventDatailController =  (EKEventViewController *)[segue destinationViewController];

    self.eventDatailController.event = self.event;
    self.eventDatailController.allowsEditing = YES;
    self.eventDatailController.allowsCalendarPreview = YES;
    self.eventDatailController.delegate = self;
}
}

The Event show well but after editing the event in EKEventViewController through the Edit button and finishing tapping Done button, the event in EKEventViewController is not accordingly refreshed.

The SimpleEKDemo works fine but doesn’t use

prepareForSegue:sender: 

but

tableView:didSelectRowAtIndexPath:

What am I doing wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T17:43:40+00:00Added an answer on June 15, 2026 at 5:43 pm

    you can always call the prepareForSegue method from didSelectRowAtIndexPath by just doing:

    [self prepareForSegue:@"EKEventViewController" sender:self];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a UITableView that I want to edit inside of a UITableViewController. This
I have a subclass of UITableViewController. I have code that can add/remove a UISearchBar
I have a UITableViewController that works in both portrait and landscape. From this controller
I currently have a UITableViewController that parses a JSON response (using TouchJSON) fired asynchronously
I have a class that is of type UITableViewController . This class has a
I have a UITableViewController that pushes a UIViewController using a UINavigationController: [self.navigationController pushViewController:detailViewController animated:YES];
I have a UINavigationController that pushes a custom UITableViewController onto the stack. This pushed
I have a UITableViewController and DetailViewController that pops up when concrete row is selected.
I have a re-usable UITableViewController sub-class, call it tableVC. Selecting a table row pushes
So I have created a simple UITableViewController that I push onto the NavigationController .

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.