iOS local push

Source: Internet
Author: User

Push everyone, you know? Do not repeat. This is the local push for iOS. The ash is often simple. Simple to heinous. Of course, it's not all women, and it's hard. is to use the remote server, this will be used APNs, or domestic third-party push the time to say.

Notice this thing is actually quite disgusting, just like used QQ to a message to send me notice. The sound of the ball is also painful. So my phone basically disables notification of this option. (Settings-"Notifications-" Select the app that you want to turn off notifications). Don't know if Android has the option to disable notifications. But there are foreign black Uncle Cloud: The existence is reasonable (what's rational is actual and that is the actual is rational.) and I'm waiting for an iOS siege lion to be done.

What is local notification?

The document is clearly written---"Local notifications is primarily intended for apps with timer-based behaviors and simple calendar or to-do L Ist apps.

is when you use the timer, calendar, the list of agents need to remind the time of use. And the system can only keep 64 notifications. Apps running in the background can also send notifications.

What you can set is also the properties of some uilocalnotification objects. The comparison hanging in bold 8.0 is not supported.

    • FIREDATE System Notification Time notice is this if it is empty or the past time so the notification is executed immediately instead of executing!! And this attribute has one with the region attribute. Otherwise, an exception is thrown. We'll do a demo test later what's going to happen.
    • TimeZone firedate Time Zone if you specify nil (which is nil by default), the firedate is specified as an absolute GMT time (in detail after the time), which is appropriate for the countdown timer. If you assign a valid Nstimezone value to it, it will automatically adjust the time when the area changes. An example that can be thought of is the alarm clock.
    • Repeatinterval
    • Repeatcalendar
    • Region
    • Regiontriggeronce

Some properties of Alert

    • Alertbody
    • Alertaction
    • Alerttitle
    • Hasaction
    • Alertlunchimage
    • Category

Cook before you are done

iOS local push

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.