【问题标题】:UILocalNotification setTimeZone to AM/PMUILocalNotification setTimeZone 到 AM/PM
【发布时间】:2012-06-28 07:01:35
【问题描述】:

如何将UILocalNotification时区设置为上午/下午。

【问题讨论】:

  • localnotification 中的时区是什么意思,请发布您遇到的问题
  • 请查看您的 UILocalNotification 代码
  • 使用 localNotif.timeZone = [NSTimeZone systemTimeZone];您的设备时区设置
  • 时区和上午/下午有什么关系???

标签: iphone uilocalnotification nstimezone


【解决方案1】:

你可以使用

localNotif.timeZone = [NSTimeZone defaultTimeZone];

【讨论】:

    猜你喜欢
    • 2022-01-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-04-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多