iOS 一些时间方法的替换

2018-08-01  本文已影响95人  龍飝

NSDayCalendarUnitisdeprecated: first deprecatediniOS8.0- Use NSCalendarUnitDay

instead翻译:NSDayCalendarUnit弃用:第一个弃用iOS8.0-使用NSCalendarUnitDay代替

NSMonthCalendarUnitisdeprecated: first deprecatediniOS8.0- Use NSCalendarUnitMonth

instead翻译:NSMonthCalendarUnit弃用:第一个弃用iOS8.0-使用NSCalendarUnitMonth代替

'NSYearCalendarUnit'isdeprecated: first deprecatediniOS8.0- Use NSCalendarUnitYear instead

'NSMonthCalendarUnit'isdeprecated: first deprecatediniOS8.0- Use NSCalendarUnitMonth instead

'NSDayCalendarUnit'isdeprecated: first deprecatediniOS8.0- Use NSCalendarUnitDay instead

'NSWeekdayCalendarUnit'isdeprecated: first deprecatediniOS8.0- Use NSCalendarUnitWeekday instead

'NSGregorianCalendar'isdeprecated: first deprecatediniOS8.0- Use NSCalendarIdentifierGregorian instead

'NSChineseCalendar'isdeprecated: first deprecatediniOS8.0- Use NSCalendarIdentifierChinese instead

'UITextAttributeTextShadowOffset'isdeprecated: first deprecatediniOS7.0- Use NSShadowAttributeNamewithan NSShadow instanceasthe value

'obtainAuthViewControllerWithUid:phoneNumber:appUserInfo:error:'isdeprecated: first deprecatediniOS6.0- Please use OpenID Account instead of uid

'UIRemoteNotificationTypeBadge'isdeprecated: first deprecatediniOS8.0- Use UIUserNotificationTypeforuser notificationsandregisterForRemoteNotificationsforreceiving remote notifications instead.

上一篇下一篇

猜你喜欢

热点阅读