【发布时间】:2023-03-22 05:01:01
【问题描述】:
在 MT.Dialog 中,Source 类有:
public override UITableViewCell GetCell (UITableView tableView, MonoTouch.Foundation.NSIndexPath indexPath)
{
......
}
在我的课堂上:
public class BaseDialogViewController : DialogViewController
如何覆盖public override UITableViewCell GetCell
这不起作用:
public override GetCell ....
谢谢
【问题讨论】:
-
究竟是什么不起作用?你有什么异常吗?
-
我无法覆盖它,它没有编译。
-
好的,编译错误是什么?
-
没有什么可以覆盖,因为我无法将项目作为 MT.Dialog 的子类覆盖
标签: c# xamarin.ios overriding xamarin monotouch.dialog