Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App rejected when using ZSSRichTextEditor #17

Closed
iksiphone opened this issue Jul 3, 2014 · 10 comments
Closed

App rejected when using ZSSRichTextEditor #17

iksiphone opened this issue Jul 3, 2014 · 10 comments

Comments

@iksiphone
Copy link

Hi
Apple rejects the app at the submission stage when ZSSRichTextEditor is included.
HRColorPicker is not included.

"The app contains or inherits from non-public classes in.... UIWebbrowserView"

Is anyone else face the same issue?

Patrick

@nnhubbard
Copy link
Owner

Have a feeling it is from these lines:

@interface UIWebBrowserView : UIView
@end

@interface UIWebBrowserView (UIWebBrowserView_Additions)
@end

@implementation UIWebBrowserView (UIWebBrowserView_Additions)
- (BOOL)canPerformAction:(SEL)action withSender:(id)sender
{
    if (action == @selector(_showTextStyleOptions:)) {
        return NO;
    } else if (action == @selector(_promptForReplace:)) {
        return NO;
    } else if (action == @selector(_define:)) {
        return NO;
    }

    return [super canPerformAction:action withSender:sender];
}
@end

That is the code used to hide some of the options in the select/copy paste menu. I don't know of any other work around to remove those, so I guess the only option is to remove that from the code and live with those extra menu items.

@iksiphone
Copy link
Author

Still rejected after removing those options as below

/*

  • (BOOL)canPerformAction:(SEL)action withSender:(id)sender
    {
    if (action == @selector(_showTextStyleOptions:)) {
    return NO;
    } else if (action == @selector(_promptForReplace:)) {
    return NO;
    } else if (action == @selector(_define:)) {
    return NO;
    }

    return [super canPerformAction:action withSender:sender];
    }
    */

Is there anyone who has already successfully submitted an app with this fantastic RichTextEditor?

@nnhubbard
Copy link
Owner

Rejected by Apple or XCode is giving you a warning when trying to submit it?

@iksiphone
Copy link
Author

XCode is giving an error when trying to validate it before submitting it
It's not a warning but an error
Please see the attached screenshot
screen shot 2014-07-03 at 22 09 42

nnhubbard added a commit that referenced this issue Aug 4, 2014
…ichTextEditor was being rejected by XCode. NOTE: Removal of this code brings back additional options when you have selected text, but these have been deemed acceptable in light of the privite API submission issue.
@nnhubbard
Copy link
Owner

This issue has been fixed.

@hamzaansari09
Copy link

Is there any other workaround for this

@nnhubbard
Copy link
Owner

Did you get a rejection? If so, what did they say?

@hamzaansari09
Copy link

Build uploaded to iTunes have an issue:

Non-public API usage:
The app contains or inherits from non-public classes in (App Name): UIWebBrowserView

@vaibhavsingla1996
Copy link

vaibhavsingla1996 commented Aug 6, 2018

Please tell me, will I be facing a rejection from apple for using "UIWebBrowserView". If yes then what will be the fix for this ?

@YogendraPatel
Copy link

is apple still reject app if i use this library with "WKWebBrowserView" class?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants