2014-04-01 53 views
1

我在容器中放置了一个tableview,并且tableview的最后一个可见行不可点击。容器内的ios tableview无法点击

_purchaseInvoiceListTable - tableViewController

[_purchaseInvoiceListTable setDataSource:_purchaseDataSource]; 
[_purchaseInvoiceListTable.view setFrame:_purchaseInvoiceListTableContainer.bounds]; 
[_purchaseInvoiceListTableContainer addSubview:[_purchaseInvoiceListTable view]]; 
[_purchaseInvoiceListTable willMoveToParentViewController:self]; 
[self addChildViewController:_purchaseInvoiceListTable]; 
[_purchaseInvoiceListTable didMoveToParentViewController:self]; 

为什么?

+0

你可以检查你的uiviewcontroller的框架吗? – streem

回答

1

您是否在容器上设置了clipsToBounds?

_purchaseInvoiceListTableContainer.clipsToBounds = YES; 
相关问题