File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1615,6 +1615,16 @@ - (void)presentPopoverFromRect:(CGRect)aRect
16151615 }
16161616 };
16171617
1618+ #ifdef WY_BASE_SDK_7_ENABLED
1619+ if ([inView.window respondsToSelector: @selector (setTintAdjustmentMode: )]) {
1620+ for (UIView *subview in inView.window .subviews ) {
1621+ if (subview != containerView) {
1622+ [subview setTintAdjustmentMode: UIViewTintAdjustmentModeDimmed];
1623+ }
1624+ }
1625+ }
1626+ #endif
1627+
16181628 containerView.hidden = NO ;
16191629
16201630 if (animated)
@@ -2149,6 +2159,16 @@ - (void)dismissPopoverAnimated:(BOOL)aAnimated
21492159 completion : (void (^)(void ))completion
21502160 callDelegate : (BOOL )callDelegate
21512161{
2162+ #ifdef WY_BASE_SDK_7_ENABLED
2163+ if ([inView.window respondsToSelector: @selector (setTintAdjustmentMode: )]) {
2164+ for (UIView *subview in inView.window .subviews ) {
2165+ if (subview != containerView) {
2166+ [subview setTintAdjustmentMode: UIViewTintAdjustmentModeAutomatic];
2167+ }
2168+ }
2169+ }
2170+ #endif
2171+
21522172 CGFloat duration = self.animationDuration ;
21532173 WYPopoverAnimationOptions style = aOptions;
21542174
Original file line number Diff line number Diff line change 155155 <navigationBar key =" navigationBar" contentMode =" scaleToFill" id =" JsB-uJ-03V" >
156156 <rect key =" frame" x =" 0.0" y =" 0.0" width =" 320" height =" 44" />
157157 <autoresizingMask key =" autoresizingMask" />
158- <color key =" tintColor" red =" 0.160242959856987" green =" 0.18130968511104584" blue =" 0.24362963438034058" alpha =" 1" colorSpace =" calibratedRGB" />
159158 </navigationBar >
160159 <nil name =" viewControllers" />
161160 <connections >
You can’t perform that action at this time.
0 commit comments