Lnpopupcontroller: App crashes in iOS 9, working fine in iOS 10

Created on 5 Apr 2017  路  3Comments  路  Source: LeoNatan/LNPopupController

Description

App crashes in iOS 9. Following is the Fatal Exception:

[<_UITabbarBackgroundView> valueForUndefinedKey:]: this class is not key value coding-compliant for the key shadowView
StackTrace indicates the issue in LNPopupController.m file's line numebr 854:
self.popupBar.systemShadowColor = [_bottomBar valueForKeyPath:str2];
screen shot 2017-04-05 at 8 52 48 am

Steps to Reproduce

  1. Call the following method, it crashes always:[self.tabBarController presentPopupBarWithContentViewController:VC animated:YES completion:nil];

It was working fine in 2.1.0. Upgrading it to 2.2.0 caused the crash.

Regarding demo project, I tried running example project with this repo, and it did also crash (I tried tabbed bar with navigation and without navigation both).
screen shot 2017-04-05 at 12 48 28 pm

Device, OS and Xcode Versions

iOS = 9.x.x
XCode = 8.2
Simulator = iPhone 6 Plus (9.3)

bug

All 3 comments

Thanks!
Will fix this soon.

Please use v2.2.2 release.

Thanks a lot, Leo. Seems like the property of shadowView is inaccessible in iOS 9.

Was this page helpful?
0 / 5 - 0 ratings