如图所示,怎么保持顶部边框两个圆角,而去掉下边框呢?
闭关修行中......
Override the draw method of view:
[[UIBezierPath bezierPathWithRoundedRect:bounds byRoundingCorners:UIRectCornerTopLeft | UIRectCornerTopRight cornerRadii:6] addClip]; [[UIColor whiteColor] setFill];
Can I post a background picture
Override the draw method of view:
Can I post a background picture