代码
// 隐藏黑线
if ([[UIDevice currentDevice].systemVersion floatValue] >= 13.0) {
// 黑线在父视图尺寸外
self.tabBar.clipsToBounds = YES;
}else{
self.tabBar.backgroundImage = [[UIImage alloc]init];
self.tabBar.shadowImage = [[UIImage alloc]init];
}
因为黑线
在父视图的尺寸范围外
见图:
如果图片看不了
看文字
黑线的Frame
是
X: 0
Y: -0.33
W: 375
H: 0.33
变化多样的验证码输入框
https://github.com/xjh093/JHVerificationCodeView