We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I love this Calendar library. Today I found out that when creating an event, the popover position is wrong.
If I long tap the evening date, the popover even invisible and press ESC to continue
Device: Simulator Version: master branch
- (void)showPopoverForNewEvent:(EKEvent*)ev { EKEventEditViewController *eventController = [EKEventEditViewController new]; eventController.event = ev; eventController.eventStore = self.eventStore; eventController.editViewDelegate = self; // called only when event is deleted eventController.modalInPopover = YES; eventController.modalPresentationStyle = UIModalPresentationPopover; eventController.presentationController.delegate = self; [self showDetailViewController:eventController sender:self]; CGRect cellRect = [self.dayPlannerView rectForNewEventOfType:self.createdEventType atDate:self.createdEventDate]; CGRect visibleRect = CGRectIntersection(self.dayPlannerView.bounds, cellRect); UIPopoverPresentationController *popController = eventController.popoverPresentationController; popController.permittedArrowDirections = UIPopoverArrowDirectionLeft|UIPopoverArrowDirectionRight; popController.delegate = self; popController.sourceView = self.dayPlannerView; popController.sourceRect = visibleRect; }
The text was updated successfully, but these errors were encountered:
see the small white triangle always points to 01:30 which is obvious wrong, no matter when the event was created
Sorry, something went wrong.
hmmm... anyone had solved this issue?
I known what went wrong. Will do a pull request soon
close jumartin#86 visible CGRect is wrong when creating event
9d7c480
No branches or pull requests
Hi,
I love this Calendar library. Today I found out that when creating an event, the popover position is wrong.
If I long tap the evening date, the popover even invisible and press ESC to continue
Device: Simulator
Version: master branch
The text was updated successfully, but these errors were encountered: