Remote Notifications

I see a few threads from years ago on this, but it seems at the time it wasn’t solvable.
I need to implement remote notifications for my iOS app. Does anyone have this working?
Does sample code for iOS or for the server exist out there?

I’m only now starting to look into this, so I don’t know the workflow yet.