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

Fine tune UIView.pin.safeArea support for iOS 8 and "New Relic" framework #134

Merged
merged 3 commits into from Apr 23, 2018

Conversation

lucdion
Copy link
Member

@lucdion lucdion commented Apr 23, 2018

Update PinLayout initialization.

  • On iOS 8, PinLayout compatibility support of UIView.safeAreaInsetsDidChange was causing issues with the device's virtual keyboard. PinLayout still support UIView.pin.safeArea on this iOS release, but UIView.safeAreaInsetsDidChange won't be called on iOS 8

  • Fix issue with "New Relic" framework: Add a Pin.initPinLayout() that can be called to initialize PinLayout before the "New Relic" framework is initialized. "New Relic" is conflicting with other popular frameworks including Mixpanel, ReactiveCocoa, Aspect, ..., and PinLayout. To fix the issue, Pin.initPinLayout() must be called BEFORE initializing "New Relic" with NewRelic.start(withApplicationToken:"APP_TOKEN"). See here for more information regarding this issue Crash in iOS 10.2.1 #130

Luc Dion added 3 commits April 22, 2018 08:04
…9/10.

* Fix a possible conflict iOS 8 conflict with the device's keyboard.
* Add a way to bypass a conflict with the New Relic iOS framework.
@lucdion lucdion merged commit 2b5de4e into master Apr 23, 2018
@lucdion lucdion deleted the fix_ios8_keyboard branch April 23, 2018 11:49
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.

None yet

1 participant