I assume this is for an iOS app. The answers is, you can’t. The Calendar app has access to functionality in iOS that us mere mortal developers cannot access. You may be able to pull this off with a jailbroken phone, but I’ve never tried that.
More Related Contents:
- Programmatically add custom event in the iPhone Calendar
- iOS how to set app icon and launch images
- defaultCalendarForNewEvents failed
- Can I change app icon programmatically
- Alternate Icon in iOS 10.3
- iOS Calendar Access Permission Dialog, force it to appear?
- iPhone App Minus App Store?
- Submit to App Store issues: Unsupported Architecture x86
- An error was encountered while running (Domain = LaunchServicesError, Code = 0) [duplicate]
- Core Data and iOS 7: Different behavior of persistent store
- Cocoa Graphing/Plotting Framework on iOS [closed]
- How to make a UILabel clickable?
- ‘Invalid update: invalid number of rows in section 0
- Save Data to .plist File in Swift
- iPhone Core Data “Automatic Lightweight Migration”
- Does @synchronized guarantees for thread safety or not?
- How do I know if cellular access for my iOS app is disabled?
- -canOpenURL: failed for URL: “fbauth2:/” (OSStatus error -10814.)”
- Using “Next” as a Return Key
- Posting Photo to facebook fan page via iOS app by regular non-admin users
- Swift filter dictionary error: Cannot assign a value of type ‘[(_, _)]’ to a value of type ‘[_ : _]’
- How can I convert my device token (NSData) into an NSString?
- Wrap items in a horizontal UIStackView on multiple lines
- -[NSNull length]: unrecognized selector sent to JSON objects
- Missing file libarclite_iphoneos.a (Xcode 14.3)
- How to dismiss keyboard iOS programmatically when pressing return
- Changed +load method order in Xcode 7
- iOS: Perform upload task while app is in background
- Xcode changes unmodified storyboard and XIB files
- Xcode6: Run two instances of the simulator