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

breaking: remove deprecated orientation methods #822

Merged

Conversation

jcesarmobile
Copy link
Member

- (NSUInteger)application:(UIApplication*)application supportedInterfaceOrientationsForWindow:(UIWindow*)window, - (NSUInteger)supportedInterfaceOrientations; and - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation were deprecated on iOS 6, remove the code as is not being used.

I think it's not breaking since we have the new methods that replaced them.

closes #821

@jcesarmobile jcesarmobile requested a review from erisu April 5, 2020 13:29
@codecov-io
Copy link

codecov-io commented Apr 5, 2020

Codecov Report

Merging #822 into master will not change coverage by %.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #822   +/-   ##
=======================================
  Coverage   74.20%   74.20%           
=======================================
  Files          13       13           
  Lines        1849     1849           
=======================================
  Hits         1372     1372           
  Misses        477      477           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 59b8ac6...fe64afc. Read the comment docs.

@jcesarmobile jcesarmobile merged commit 449b9cc into apache:master Apr 6, 2020
@jcesarmobile jcesarmobile deleted the remove-deprecated-orientation branch April 6, 2020 10:57
@jcesarmobile jcesarmobile changed the title chore: remove deprecated orientation methods breaking: remove deprecated orientation methods Apr 27, 2020
@jcesarmobile
Copy link
Member Author

I've changed the title to "breaking" as it will break plugins using the orientation delegate, not sure how many are using it.
I updated InAppBrowser to remove the method there.

Since it's already merged and the breaking wasn't included in the commit I hope we don't forget about it.

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

Successfully merging this pull request may close these issues.

shouldAutorotateToInterfaceOrientation was deprecated on iOS 6
4 participants