可以采用如下方法,写一个函数:
-(UIImage*) getOneImageButtonWithArrow{
//tmpView做附控件
UIView *tmpView = [[UIView alloc] initWithFrame:CGRectMake(0.0f, 0.0f, 38.0f, 32.0f)];
tmpView.backgroundColor = [UIColo...
分类:
移动开发 时间:
2014-07-01 09:54:31
阅读次数:
246
通过自定义BUTTON,写一个LongTouchBtn类,在按下的时候执行onTouchEvent事件,通过这个事件使用回调函数来实现长按功能!...
分类:
移动开发 时间:
2014-05-09 01:58:36
阅读次数:
345
Shape前言:有时候会去自己去画一些Button的样式来展现在UI当中,其中主要用到的就是Shape先来看一段代码: 1 2 4 5 6 7 10 11 12
13 18 19 20 23 24 1)solid:实心,就是填充的意思 a...
分类:
移动开发 时间:
2014-05-08 06:32:27
阅读次数:
550