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

和自甴很熟 提交于 2019-12-23 05:39:05

问题


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

来源:https://stackoverflow.com/questions/34492420/how-to-implement-push-notification-based-on-geo-location-in-objective-c

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