Skip to main content

Posts

Showing posts from November, 2019

Custom Push Notification with image and interactions on iOS - Swift 4

When I created my first custom notification, I read many articles and videos and it was a bit tricky at first, so the intent of this tutorial is to centralise everything to make this process easier. Let's start creating a Single View App or use an existing one. Put the name of your project and select your Team, is important to have a team in this case because will be necessary to create your app id, certificates, and APNs to send push, without that you will not be able to do this tutorial. 1. Setting your Capabilities in your xcodeproj Go to your xcodeproj in xcode, select Capabilities, and turn ON  Push notifications  and  Background Modes > Remote Notifications  like the image below. Xcode will create for you your app id in the apple developer. 2. Generating APNs to send notifications. In the  Apple Developer  after logging in, go to: Certificates, Identifiers & Profiles  >  Identifiers ...