Xamarin.ios Xamarin IOM项目的形式

Xamarin.ios Xamarin IOM项目的形式,xamarin.ios,xamarin.forms,Xamarin.ios,Xamarin.forms,我正在android和ios上做一个项目。我在ios上遇到一个异常,如下所示: Foundation.MonoTouchException has been thrown Objective-C exception thrown. Name: NSInternalInconsistencyException Reason: Invalid update: invalid number of rows in section 0. The number of rows contained in

我正在android和ios上做一个项目。我在ios上遇到一个异常,如下所示:

Foundation.MonoTouchException has been thrown
Objective-C exception thrown.  Name: NSInternalInconsistencyException Reason: Invalid update: invalid number of rows in section 0.  The number of rows contained in an existing section after the update (1) must be equal to the number of rows contained in that section before the update (1), plus or minus the number of rows inserted or deleted from that section (1 inserted, 0 deleted) and plus or minus the number of rows moved into or out of that section (0 moved in, 0 moved out).
但在安卓系统中运行良好


请任何人帮我解决这个问题。提前谢谢

您是否正在更新列表视图中的某些集合?请显示您用于此目的的代码。感谢您的回复Gerald。我使用ListView源代码作为可观察集合。现在我将其更改为List。它工作正常。此类问题应直接报告给Xamarin,您是否正在更新ListView中的某个集合?请显示您用于此目的的代码。感谢您的回复Gerald。我使用ListView源代码作为可观察集合。现在我将其更改为List。它工作正常。此类问题应直接报告给Xamarin,