ipad设置uiview控制器
我有这段代码
arrangeListViewController = [[[ArrangeListViewController alloc] init] autorelease];
arrangeList = [[UITableView alloc] initWithFrame:CGRectMake(attributesPadding, y, popoverWidth - 2* attributesPadding, popoverHeight - y - attributesPadding) style:UITableViewStylePlain];
arrangeList.layer.cornerRadius = 15;
,所以我将这个“arrangeList”添加到我的视图中,我可以看到它。但是我该如何为“arrangeList”分配视图控制器呢?
I have this code
arrangeListViewController = [[[ArrangeListViewController alloc] init] autorelease];
arrangeList = [[UITableView alloc] initWithFrame:CGRectMake(attributesPadding, y, popoverWidth - 2* attributesPadding, popoverHeight - y - attributesPadding) style:UITableViewStylePlain];
arrangeList.layer.cornerRadius = 15;
So i add this "arrangeList to my view and i can see it. But how do i go about assigning the view controller for "arrangeList'?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不太清楚你的意思,伙计...如果你想将表视图添加到
arrangeListViewController
中,那么请执行以下操作:Not too sure what you mean mate... if you want to add the table view to the
arrangeListViewController
then do this: