문제

I've never known it to happen before where Apple have deprecated a function because they've changed their mind about allowing developers access to it.

I checked the App Store Review Guidelines, and there's no mention of it there.

I'm curious - would an app be rejected for using this deprecated function, or is it simply deprecated because Apple may stop supporting it in the future, possibly in iOS 8, and thus current apps using it are fine.

도움이 되었습니까?

해결책

Apple's guidelines state that the app must be free from bugs, but deprecated references are not bugs. They merely come up as warnings in Xcode.

Since there's so much open source code out there Apple doesn't expect everyone to stop using deprecated methods/properties immediately. Typically they will leave deprecated elements accessible for one major release, then remove it from the library.

다른 팁

Methods/Features are deprecated to discourage their usage. This simply means that there is now a better way to do it and the item marked as deprecated will soon be removed (probably in the next major release) and you should avoid using it.

Also, this doesn't mean your app will be rejected unless that feature has been marked deprecated for a long time.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top