0
我有一個ViewController需要使用2個UITableViews。
1總是顯示,而另一個會在您點擊視圖上的按鈕後顯示爲彈出窗口。具有多個數據源的UITableView
通常,我將委託和數據源設置爲文件的所有者。但是,由於1個UITableViews在彈出窗口中,所以我不確定如何最好地解決這個問題。 (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath;(UITableView * *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath;
請指教。
感謝,
三通
我剛剛打完全相同的東西。 +1 – 2010-10-26 19:13:07