UIAlertView outside app - objective-c

On iOS which is the class name used to show UIAlertView outside the application, like the notification system does?
Thanks!

You'll need to use local notifications, or setup apple's Remote Push notification service.
Local Notifications
Push Notifications

Related

how to send push notification without apple device

is it possible to send push notification for apple without apple device? I would like to send push notification using any page or service from apple, but not using an app created in xcode for example. My app that will get the push is ready and working, but I would like to send the push from a normal page, not from mac or iphone app.
Apple push notifications can only be send to Apple devices (iOS, OSX or Safari for Mac).
However, you can send the notification from any type of operating system using the Apple Push Notification Service API:
https://developer.apple.com/library/ios/documentation/networkinginternet/conceptual/remotenotificationspg/Chapters/ApplePushService.html#//apple_ref/doc/uid/TP40008194-CH100-SW9
Yes, you can do that for free with using a push notification API, such as Spontit.
See the API docs here: https://api.spontit.com/
See the Python wrapper here: https://github.com/spontit/spontit-api-python-wrapper

Skype push notification "[person] is calling..." disappears when call ends - how to do that?

If iPhone is locked and somebody calls on Skype, push notification appears.
I think it's simple push notification as other app servers send.
But when the call ends (and we didn't respond, so the call is missed) push notification disappears from lockscreen! It is not stored in notification center nor recent notifications list on lockscreen.
So how to do this?
How to implement calling of push notifications?
Does Skype have special priveleges or is it also available for regular developer to implement?
No they don't. Skype uses voip and Apple allow apps that use location, voip and audio to run in background, so Skype is set in the AppName-Info.plist file Required background modes to voip and what you see is not a push notification, but a local notification controlled by the running app.
[[UIApplication sharedApplication] setApplicationIconBadgeNumber:0];
It will remove notification. So any app can do it.

Any other local or push Notification detection while application running

I want to know that is there any way that when my application keeps running. And device receive any type of local or push badge notification then my application will give a custom alert. That an application received a notification.
Your application can only respond to notifications meant for it... it can do nothing about notifications received by other apps...

observe osx application's state(opening, quitting)

how can I get notified at my app while the specify application is opening or closing?
for example, I need do something in my app when iTunes is quitting.
Subscribe to the NSWorkspace notifications NSWorkspaceDidLaunchApplicationNotification and NSWorkspaceDidTerminateApplicationNotification.

How to enable-disable Notifications in settings app using sdk?

I want to use push notification in my app so first time it launches it will automatically ask for notification.So i want to enable-disable push notification settings for my app programmatically.Note-I do not want to unregistered my app just disable Alert,badge,Sound for my app in settings app.
You can't do this via the SDK. You'll have to inform the user that your app requires push notifications turned on, and then they'll have to go to Settings and turn it on themselves.
Apps have no control over the phone's settings, only its own.