iphone--使用控件数组
来源:互联网 发布:mac safari清除缓存 编辑:程序博客网 时间:2024/05/16 12:55
NSMutableArray *path=[[NSMutableArray alloc]initWithObjects:@"06-7",@"06-6",@"06-5",@"06-8",@"06-4",@"06-2",nil];
for(int i=0;i<6;i++)
{
UIImageView *imageView=[[UIImageView alloc]initWithFrame:CGRectMake(165+i*139+i, 595, 139, 120)];
imageView.backgroundColor=[UIColor blueColor];
UIButton *imageBtn=[UIButton buttonWithType:UIButtonTypeCustom];
imageBtn.frame=CGRectMake(165+i*139+i, 595, 139, 120);
NSString *pathImg=[[NSBundle mainBundle]pathForResource:[path objectAtIndex:i] ofType:@"png"];
UIImage *img=[[UIImage alloc]initWithContentsOfFile:pathImg];
[imageView setImage:img];
[self addSubview:imageBtn];
[self addSubview:imageView];
[self sendSubviewToBack:imageView];
}
- iphone--使用控件数组
- iphone 简单控件的使用
- C#中使用控件数组
- vb控件数组 的使用
- iPhone基础开发之switch控件的使用
- iphone开发之常用控件的使用详解
- iPhone学习第一天,iphoen基本控件的使用
- iphone之iphone控件尺寸
- iphone新手上路: KVC模式和iPhone基本控件的使用
- 使用ocx控件输出数组参数
- 在VB.NET中使用控件数组
- pb中对控件如何使用数组
- 浅谈VB.net控件数组的使用
- iPhone走马灯控件实现
- iPhone 开发常用控件
- iphone 自定义控件
- iphone slider滑动控件
- iphone UISegmentedControl分段控件
- iphone--UIButton,Controlstate
- linux diff patch usage
- 用标准Windows API创建多线程程序
- Android单选框基本应用方式
- 360“隔离沙箱”强劲升级:运行软件不中毒
- iphone--使用控件数组
- iphone--UIScrollView使用加载图片
- Android PreferenceActivity简介
- iphone--给数组添加元素
- 360安全卫士网管版:让网管轻松管理内网电脑安全配置
- Android中的多选框,提示框
- 卡尔曼滤波的通俗讲解
- Android NDK编程入门
- iphone--UIImageView响应点击事件