Understanding UILocalNotification timeZone

前端 未结 3 2051
青春惊慌失措
青春惊慌失措 2020-12-08 03:14

From the docs:

The date specified in fireDate is interpreted according to the value of this property. If you specify nil (the default), the fire dat

3条回答
  •  猫巷女王i
    2020-12-08 03:42

    In Swift 3, use TimeZone.autoupdatingCurrent to behave the same as objective-C [NSTimeZone defaultTimeZone].

提交回复
热议问题