Fork me on GitHub
摘要: 在应用图标右上角添加消息数提醒,可以很方便的告知用户该应用中有无新消息需要处理。下面用xcode 7.3.1来简要说明一下如何用swift语言进行此功能的实现。 1、修改 AppDelegate.swift 2 修改在ViewController.swift 3 编译运行 第一次会弹出询问是否允许推 阅读全文
posted @ 2016-08-18 11:43 JackWang-CUMT 阅读(1590) 评论(5) 推荐(0) 编辑