iOS开发
a714857512
这个作者很懒,什么都没留下…
展开
-
自定义按钮
// 返回背景框边境 - (CGRect)backgroundRectForBounds:(CGRect)bounds; // 返回内容框边界 - (CGRect)contentRectForBounds:(CGRect)bounds; // 返回title边界 - (CGRect)titleRectForContentRect:(CGRect)contentRect原创 2015-12-16 16:55:50 · 208 阅读 · 0 评论 -
自定义View弹出,周围变暗,点击view以外的区域,view消失及变亮。
AlertView.h #import @protocol AlertViewDelegate NSObject> - (void)alertViewButtonClick ; @end @interface AlertVIew : UIView - (void)diss;//原创 2015-12-16 17:09:59 · 1211 阅读 · 0 评论