IOS local notification store is shared

Source: Internet
Author: User

When doing local notifications, think of the question: read the local notification array will not be read to other software notifications, or local notifications, is not stored in the same location on the phone.

Supposedly stored in their own sandbox, unrelated to each other.

But I wrote a little code test.

These two codes function exactly the same as the names.

Click on the button above to add a local push.

The following button, the title shows the number of local pushes

Add four local notifications to one of the two

The number on the other side is still 0.

Then the result came out, local notice not interference.

IOS local notification store is shared

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.