How to implement Push Notification Based on Geo Location in Objective-C?

匿名 (未验证) 提交于 2019-12-03 10:24:21

问题:

How to implement geo location based push notifications ? I have been referred to the following solution: How to use geo-based push notifications on iOS?

In the above link they have given local notification based solution:

 UILocalNotification *localNotification = [[UILocalNotification alloc] init];  localNotification.alertBody = locationData;  localNotification.alertAction = @"Location data received";  localNotification.hasAction = YES;  [[UIApplication sharedApplication] presentLocalNotificationNow:localNotification]; 

But how to implement it for geo location? for example: if user enters some area then push notification via apns

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!