check this link out. https://ashishkakkad.com/2016/09/push-notifications-in-ios-10-objective-c/ Keep in mind that push notifications used to be very popular but many users now hate it and delete any app using it.