分类目录归档:ios

iOS8 本地通知使用方法

在运行脚本时,发现程序在5S虚拟机上一切正常,但是使用iPhone6 Plus虚拟机时报错,根据信息可知是添加本地通知时报错。信息如下:

2015-02-06 17:41:49.369 Demo[6744:1604149] Setting a reminder for 2015-02-06 09:42:00 +0000
2015-02-06 17:41:49.384 Demo[6744:1604149] Attempting to schedule a local notification {fire date = Friday, February 6, 2015 at 5:42:00 PM China Standard Time, time zone = (null), repeat interval = 0, repeat count = UILocalNotificationInfiniteRepeatCount, next fire date = Friday, February 6, 2015 at 5:42:00 PM China Standard Time, user info = (null)} with an alert but haven’t received permission from the user to display alerts
2015-02-06 17:41:51.263 Demo[6744:1604608] Terminating since there is no system app.

继续阅读

ios webview 相关

使用ios ,通过oc 使webview加载页面相关操作,遇到了如下两个问题。解决过程略有心酸,记录如下:

  1. 带登录状态(cookie)请求webview,cookie含有httponly标记
  2. 请求url由url变为url#时,webview的异常表现

继续阅读