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];
爲什麼?
你可以檢查你的uiviewcontroller的框架嗎? – streem