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

[TIMOB-24731] : iOS Resolve iOS 8 deprecations for willAnimateRotationToInterfaceOrientation #9138

Merged
merged 11 commits into from Aug 8, 2017

Conversation

vijaysingh-axway
Copy link
Contributor

Copy link
Collaborator

@hansemannn hansemannn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job @vijaysingh-axway! Left one note regarding super calls (or did you leave them blank intentionally), the rest looks fine.

We need extensive test-cases for orientation tests of all involved elements (especially top-level-views like tab-group, navigation-window and container-views like tableview and scrollable-view).

QE will have proper ones I guess!

- (void)preferredContentSizeDidChangeForChildContentContainer:(id <UIContentContainer>)container
{

}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super calls?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is intentional. No need to call super. These are end calls . These protocols are implemented here to play safe. If it get call from somewhere without check, app will ensure to not crash. Required changes for scrollview is implemented as per previous implementation , in method -

  • (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id )coordinator

@hansemannn hansemannn added this to the 6.2.0 milestone Jun 12, 2017
@mukherjee2 mukherjee2 self-requested a review August 1, 2017 17:17
Copy link
Contributor

@mukherjee2 mukherjee2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Node Version: 6.10.3
NPM Version: 3.10.10
Mac OS: 10.12.4
Appc CLI: 6.2.2
Appc CLI NPM: 4.2.9
Titanium SDK version: 7.0.0.v20170801101611
Appcelerator Studio, build: 4.9.1.201707200100
Xcode 8.3.2
iOS 9 and 10 Devices, iPhone 6S Plus, iPad Pro 12.9"

I tried all four test cases in the original Jira ticket, and rotating the windows appeared to work correctly. Split window worked correctly on the iPad when rotated.

@mukherjee2 mukherjee2 merged commit 70b67b0 into tidev:master Aug 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants