[Bug] "Foundation.MonoTouchException / Can't add self as subview" at Xamarin.Forms Nuget for iOS v4.6.0.967+ #11183
Comments
@akmustafa Could you attach a sample where reproduce the issue?. Thanks. |
I can attach my .xaml file which I got error.
|
Hi! I had the same problem, but I couldn't identify how the failure occurs. It happened a few times with window navigation, which made me think it was manipulating the UI of another thread, but then it happened simply by executing "using (HttpResponseMessage response = await httpClient.PostAsync ... )". Really really strange. I returned Xamarin.Forms to version 4.6.0.847 for IOS and the problems are over. |
likely related to #10469 |
I'm having the same problem. I reverted to an earlier version and the problem went away. Problem occurred for me when building a list of objects List on Add of the object. |
I'm on |
hit the same today. as far as i have more listview in the app and they contains lot of items and scroll without crash, may be the problem somewhere in current list configuration. here is mine
|
hardly. my list is populated either from sync sqlite, or in callback from another page where user choose item to add. |
Hi everyone, I'm facing the same error after I update my app to the latest version of XF. Objective-C exception thrown. Name: NSInvalidArgumentException Reason: Can't add self as subview |
I am also getting this error:
For me this occurs when adding new Items to a Collection async. The intial creation of the List works fine. |
Here is a repo: https://github.com/Adlbert/Cant_add_self_as_subview I used your .xaml @akmustafa. Thank you for that. |
Any update on when this will be looked at? @samhouts |
can someone help me i have this same problem |
downgrade to 4.6.0.847 & wait for fix |
|
Fixed in 4.7.0.1239 |
Description
Steps to Reproduce
Expected Behavior
Scroll to entire list and show all items in list view
Actual Behavior
Listview shows first items which fills up a screen but just after starting to scroll down following error occurring;
Foundation.MonoTouchException: Objective-C exception thrown.
Basic Information
Screenshots
Reproduction Link
Workaround
The text was updated successfully, but these errors were encountered: