Category "ios10"

Notification Service Extension Not working

Notification is not being displayed when I send mutable-content:1 with push payload neither it hits the breakpoint inside the Notification service extension, al

UNNotificationRequest requires unique identifier, but fires on duplicates too

I call local Notifications like so let center = UNUserNotificationCenter.current() let content = UNMutableNotificationContent() content.title = title content.bo

Unique Identifier for scheduling notifications, Swift 3 iOS 10

I am scheduling notifications with Unique Identifiers so I don't have to make a new String for each notification. This all works well for scheduling but the pro

TodayWidget built correctly but com.apple.springboard running

My todayWidget was developed for iOS 8 (and worked on it) and was a very simple todayWidget that only fetch data from a server in the widgetPerformUpdateWithCom

iOS 10 don't call Notification Service Extension

I tried to implement the new Notification Service Extension, but I have a problem. In my NotificationService.swift file I have this code: class NotificationSe

Render MKMapView offscreen

I'm trying to render an MKMapView into an UIImage, without showing it on the screen. I init the map: let mapView = MKMapView(frame: CGRect(x: 0, y: 0, width: 1

Render MKMapView offscreen

I'm trying to render an MKMapView into an UIImage, without showing it on the screen. I init the map: let mapView = MKMapView(frame: CGRect(x: 0, y: 0, width: 1

Failed to load resource: Preflight response is not successful

Am trying to call CORS Rest API but am getting this error: Failed to load resource: Preflight response is not successful This happens on my cordova apps a