【发布时间】:2017-10-23 07:22:24
【问题描述】:
有谁知道转换成这个 if (&UIApplicationDidEnterBackgroundNotification && &UIApplicationWillEnterForegroundNotification) { } 迅速
【问题讨论】:
-
你想在哪里使用它?对我来说似乎有点困惑。
-
根本不需要这个。这些符号是在 iOS 4 中重新添加的。因此,除非您尝试支持 iOS 3.2 或更早版本(极不可能),否则在 Swift 或 Objective-C 中根本没有理由检查这些符号是否存在。跨度>
标签: ios objective-c swift type-conversion