0
我创建了一个自定义弹出窗口,其中包含一个UIImageView,我在其中添加了一些元素。 问题是,当我添加一个UITableView它不可滚动(实际上它似乎不可点击 - RowSelected事件没有被调用)。UIImageView上的UITableView
customPopup = new UIImageView (new RectangleF (16, 50, 283, 499));
customPopup.Image = UIImage.FromFile ("Images/popup.png");
customPopupTableView = new UITableView (new RectangleF (0,200, 283, 220));
customPopupListSource = new CustomPopupListSource();
customPopupTableView.BackgroundColor = UIColor.Clear;
customPopupTableView.SeparatorStyle = UITableViewCellSeparatorStyle.None;
customPopupTableView.RowHeight = 100;
customPopupTableView.Source = customPopupListSource;
customPopup.Add (customPopupTableView);
任何想法是什么会导致这种行为?