Implementing Alert Push Notifications
Add visible alert notifications to your app by using the UserNotifications framework.
Overview
Configure the Sample Code Project
Before you run the sample code project in Xcode, set up a remote notification server to send pushes. See Setting up a remote notification server.