I want to know what the risks are of using undocumented methods in the iPhone SDK.
I haven’t had any issues thus far, but I am worried that doing something like this might screw up the app.
Any opinions/suggestions are greatly appreciated.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Apple has recently begun running apps through a static analyzer that will catch use of undocumented (i.e., private) method calls and automatically reject them (unless Steve Jobs takes pity on you; I wouldn’t count on it, though).
That said, there’s nothing stopping you from using them for private apps, although you should be careful with OS updates since private methods are not guaranteed to function the same (even if you get the same results, the implementation might have different side effects).