identifierForVendor and iOS6

后端 未结 5 555
别跟我提以往
别跟我提以往 2020-12-28 21:50

The identifierForVendor require iOS6, so if my app currently supporting iOS4 and therefore I can\'t use it since my updates should always meet my app\'s

5条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2020-12-28 22:33

    Have a look at NSSelectorFromString and [NSObject performSelector:SEL]. NSSelectorFromString allows you to select a selector by runtime with a string. Use it in combination with a OS version check at runtime.

提交回复
热议问题