当前分类

iOS

获取UIImage的尺寸

int contentWid = self.view.width ; unsigned long width = CGImageGetWidth(image.CGImage) ; unsigned long height …

给UIView切左上右上圆角

直接上代码 self.headView = [[UIView alloc]init] ; //切左右上两个圆角 UIBezierPath *maskPath = [UIBezierPath bez …

微信扫一扫,分享到朋友圈

ios中json转模型,遇到关键字处理