LixinQian
LixinQian
背景视图无法消失
@interface ViewController () @property (nonatomic, strong) zhPopupController *popupVC; @end @implementation ViewController - (IBAction)click1:(id)sender {//按钮的点击事件 UIView *popView = [[UIView alloc]initWithFrame:CGRectMake(100, 100, [UIScreen mainScreen].bounds.size.width, 216)]; [self.popupVC.zh_popupController presentContentView:popView]; } - (zhPopupController *)popupVC {...
其实大多App也许只需要图片选择,或者相册拍照,对于,裁剪编辑等,不是太需要。分某块集成的话,使用率会更高。
在iOS13上会发现显示位置都在最左边去了。 遍历UITabBarButton的subViews发现只有在TabBar选中状态下才能取到UITabBarSwappableImageView。