Are you needing to send notifications to the iOS device that is currently running your app? If so, you should look into local notifications.
If you're actually wanting to send push notifications to other iOS devices from your iOS device, you basically have two options
Option 1 (Easiest)
Use a service like Parse or Urban Airship to send the notifications for you. You can then fire off a request to their API to initiate the push notification to your user's devices.
Option 2 (Most Involved)
Set up your infrastructure per Apple's guidelines so that you can send push notifications to Apple's servers. Then, you'll need to build an API so that your iOS device can communicate with your push notification server to initiate the push notification request to Apple's servers.
True push notification support is not easy so I would suggest option 1 if it works out for you.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…