- 5
- 0
- 约9.53千字
- 约 56页
- 2015-10-02 发布于河南
- 举报
《《iphone-表格视图开发(斯坦福大学ppt)》.pdf
CS193P - 讲座9
iPhone应用程序开发
表格视图
公告
• 从现在开始评分和反馈将通过email发送
• Presence 1这个星期三晚上11:59分截止
今天的主题
• 滚动视图
• 表格视图
显示数据
控制外观和行为
• UITableViewController
• 表格视图单元
• Presence - Part 2
滚动视图
UIScrollView
• 显示超出一屏的内容
• 处理滚动和缩放的图标
• 值得一提的子类: UITableView and UITextView
滚动例子
使用滚动视图
• 生成需要的框
CGRect frame = CGRectMake(0, 0, 200, 200);
scrollView = [[UIScrollView alloc] initWithFrame:frame];
• 添加子视图(其大小可能超过滚动视图的大小)
frame = CGRectMake(0, 0, 500, 500);
myImageView = [[UIImageView alloc] initWithFrame:frame];
[scrollView addSubview:myImage
您可能关注的文档
- 《《Investment Immigration for China》.pdf
- 《《Investment Immigration INFO》.pdf
- 《《Investment Philosophies》.pdf
- 《《Investment Policy Implications of the Capital Asset Pricing Model》.pdf
- 《《Investment Related Issues》.pdf
- 《《Investment Summary-An Analysis of the Food and Beverage Industry》.pdf
- 《《Investment_Banking_Panel》.pdf
- 《《investment_notes》.pdf
- 《《Investment_博迪第五版》.pdf
- 《《investment(上-X)》.pdf
原创力文档

文档评论(0)