zhPopupController
zhPopupController copied to clipboard
Help you pop up custom views easily. and support pop-up animation, layout position, mask effect and gesture interaction etc.
iPhone x底部弹出没有去掉安全区域
当文本框成为第一响应者后,有可能多次接收到UIKeyboardWillChangeFrameNotification通知, 在通知处理方法(keyboardWillChangeFrame:)中,设置_popupView.center的Y值是根据当前Y值计算出来的,建议通过获取键盘前后位置差值来设置_popupView.center。 // if (!CGPointEqualToPoint(CGPointZero, _markerCenter)) { // _popupView.center = CGPointMake(_markerCenter.x, _markerCenter.y - changeHeight); // } else { // _popupView.center = CGPointMake(_popupView.center.x, _popupView.center.y - changeHeight); // } CGRect beginKeyboardRect =...
在已经弹出的第一个视图上再弹出第二个视图,如何在第二个视图dissmiss后,保留第一个视图???
项目中导入IQKeyboardManager后,Keyboard style1中弹框直接顶出屏幕,不在屏幕中间。请看下如何解决
https://raw.githubusercontent.com/snail-z/zhPopupController/master/Preview/_zhPopupController_ios11.gif 这里面有个效果就是从底部弹出然后里面的按钮有个弹簧的动画效果,请问是这个框架已经实现了吗?还是要自己写?
self.zh_popupController.maskTouched = ^(zhPopupController * _Nonnull popupController) { [popupController dismissWithDuration:0.25 springAnimated:NO]; };这段代码不执行
当我把右下角的按钮 背景色换掉后,右下角的按钮 圆角没了
在弹出框上添加一个table 在懒加载table就产生报错:invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific - break on _CFRunLoopError_RunCalledWithInvalidMode to debug.