I need to create a UserNotification from C# in Unity.
Example from Apple Documentation:
`
let center = CLLocationCoordinate2D(latitude: 37.335400, longitude: -122.009201)
let region = CLCircularRegion(center: center, radius: 2000.0, identifier: "Headquarters")
region.notifyOnEntry = true
region.notifyOnExit = false
let trigger = UNLocationNotificationTrigger(region: region, repeats: false)
`
How would I implement the UserNotification framework and run this Swift (can be ObjC) code from C#?
↧