You can enroll in the company program, if you do not want to publish your app:
https://developer.apple.com/programs/ios/enterprise/
Twitter, GTalk, Facebook..., all have created their own servers/clients, so they can integrate push-notifications into their iOS App.