ios - The app references non-public selectors in Payload/<Appname>.app/<App name>: FailWithError: , topMostAlert -
on apple application uploader got error:
the app references non-public selectors in payload/<appname>.app/<app name>: failwitherror: , topmostalert.
i searched code failwitherror: , topmostalert. didnt find these in code except topmostalert used dismiss uialertview
class uialertmanager = nsclassfromstring(@"_uialertmanager"); uialertview *alertview = [uialertmanager performselector:@selector(topmostalert)]; [alertview dismisswithclickedbuttonindex:0 animated:no]; i know error because of using selector in own code or third party code has same name selector marked non-public (apple provided api).
i adding screenshot of framework used in code.

you got rejected because using private class uialertmanager (via _uialertmanager). change code uses public apis , through review process.
Comments
Post a Comment