简体   繁体   中英

iOS 9 Swift 2.0 How can I get notification so when a user sends a message to another user they get notified?

I'm new fairly new to iOS dev but how can I get notification so when a user sends a message to another user they get notified?

Does this refer to Parse? Also are there any lines of codes that should be implemented? Any advice is appreciated.

I will let you guys know if I fins a solution soon. Thanks!

Parse is one of many possible solutions, it is fairly easy and convenient as you need a server to monitor for the events:

https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/ApplePushService.html

Here is the Parse reference:

https://parse.com/tutorials/ios-push-notifications

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM