Your app can't access your reminders and your calendar without permission. Instead, it must show an alert to user, requesting him/her to grant access to events for the app.
To get started, import the EventKit framework:
Swift
import EventKit
Objective-C
#import <EventKit/EventKit.h>
...