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

You should not use this anymore. #4

Closed
blacklee opened this issue Jan 22, 2014 · 2 comments
Closed

You should not use this anymore. #4

blacklee opened this issue Jan 22, 2014 · 2 comments

Comments

@blacklee
Copy link

Message below is copied from [iTunes Connect] Resolution Center

Rejected
Apple
Jan 20, 2014 09:51 AM
Reasons

2.5: Apps that use non-public APIs will be rejected
2.5

We found that your app interacts with the organization and layout of a provided view's internal hierarchy, which is a private entity. Interacting with private entities is not in compliance with the App Store Review Guidelines.

Specifically, your app uses classes like AMBlurView or MDBlurView, which take layers from UIToolbar and UINavigationBar view hierarchies.

Selecting specific layers or subviews in our provided views makes assumptions about the organization and layout of the view hierarchy. However, this hierarchy could change without notice, affecting the behavior of your app.

Please revise your app to remove this functionality.

@dimitribouniol
Copy link
Member

I imagine this is easily obfuscated by placing the following to the top of your .pch file:

#define MDBlurView CheeseSandwichView
#define MDBlurLuminosity CheeseSandwichLuminosity
#define MDBlurLuminosityAutomatic CheeseSandwichLuminosityAutomatic
#define MDBlurLuminosityBright CheeseSandwichLuminosityBright
#define MDBlurLuminosityDark CheeseSandwichLuminosityDark

#define blurFraction cheeseSandwichFraction
#define blurRadius cheeseSandwichRadius
#define blurLuminosity cheeseSandwichLuminosity
#define _blurFraction _cheeseSandwichFraction
#define _blurRadius _cheeseSandwichRadius
#define _blurLuminosity _cheeseSandwichLuminosity
#define setBlurFraction setCheeseSandwichFraction
#define setBlurRadius setCheeseSandwichRadius
#define setBlurLuminosity setCheeseSandwichLuminosity

… or whatever other word you can think of. You can do the same for method names that include blur in them.

@dimitribouniol
Copy link
Member

I can confirm that this method works, and will now close the issue. More info.

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

2 participants