Member-only story
Implement Push Notifications in iOS with Swift
8 min readDec 7, 2018

In this post we implement Push Notifications in iOS with Swift. Actually, this process is easier than before, with only a small set of steps:
- Activate Push notifications in your iOS project
- Request permissions for User notifications
- Register in Apple Push Notifications service
- Sending Test notifications
- Handling Notifications in your app
Get an Apple Developer Account
First of all, you need an Apple Developer Account to access the Apple Push Notifications service. However, you can see this post this post about how to Publish an iOS application in the App Store if you need to create an account for the first time.
Activate Push notifications in your iOS project
- Open the application project properties (the root icon in your project)
- In General, define an unique “Application Bundle” name. For example,
me.developer.ios.notifications
. - In the Capabilities section, activate “Push Notifications”. As a result, your App ID will be automatically registered in the App Store.