We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

IOS Crashes

Thread ID:

Created:

Updated:

Platform:

Replies:

149751 Dec 7,2019 02:04 PM UTC Dec 13,2019 05:43 AM UTC Xamarin.Forms 7
loading
Tags: SfAccordion
mohamed
Asked On December 7, 2019 02:04 PM UTC

Hello,

I stucked for 2 days trying to find a solustion with no hope,

i just got that error when i try to build my xamarin forms app for ios iphone 7 device

Severity Code Description Project File Line Suppression State
Error Can't resolve the reference 'System.Drawing.RectangleF System.Drawing.RectangleF::Empty', referenced from the method 'UIKit.UITextField Xamarin.Forms.Platform.iOS.EntryRenderer::CreateNativeControl()' in 'System.Drawing.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. MLKApp.iOS

please i need help i dont know if this error from control or what ,, everything was working as expected before and that happend suddenly 

Rachel A [Syncfusion]
Replied On December 9, 2019 08:51 AM UTC

Hi Mohamed, 
 
Greetings from Syncfusion. 
 
As mentioned in the forum, can you give a try on the below suggestion. 
 
 
Also, from the given error details we suspect you are using System.drawing.rectangleF . As mentioned in the below forum link, can you use CoreGraphics.CGRect which is used in Unified API for iOS platform. 
 
 
Thanks, 
Rachel. 


mohamed
Replied On December 9, 2019 02:04 PM UTC

Hello again,

I figure out that after upgrading to Xamarin.Forms Latest Version 4.3.0.991221 the error came out and after downgrading it works well i dont know if it a bug or not ,
 but i need to use Xamarin.Forms Latest Version 4.3.0.991221 to start using syncfusion:SfAccordion control, is there is anyway to solve that ?

Rachel A [Syncfusion]
Replied On December 10, 2019 09:55 AM UTC

Hi Mohamed, 
 
We ask you to confirm whether you have tried the solution that we have already provided. So, further investigation will be helpful. 
 
Thanks, 
Rachel. 


mohamed
Replied On December 10, 2019 10:55 AM UTC

Hello,

I tried to flow the links you sent before but nothing worked for me but the latest version of the Xamarin.forms 4.3.0.991221, and i am not using System.Drawing.RectangleF in my code so i couldnt change it to CoreGraphics.CGRect , but the workaround i did was i knew which file making the problem and it was Xamarin.Forms.Platform.iOS.dll
Location : C:\Users\UserName\.nuget\packages\xamarin.forms\4.3.0.991221\lib\Xamarin.iOS10\Xamarin.Forms.Platform.iOS.dll and i changed this file with the older version 4.3.0.991211 and it continued without getting the error but still cannot use SfAccordion it shows up in the page and filled with list data but not expandable.

I hope my explaination was clear, thanks.

Gnana Priya Namasivayam [Syncfusion]
Replied On December 12, 2019 09:36 AM UTC

Hi  Mohammed, 
 
We would like to inform that we could able to reproduce the reported issue in 4.3.0.991221 and its is framework issue which now works fine in latest Xamarin Forms version 4.4.0.991265. We have attached the tested sample for your reference, please find the sample from below. 
 
 
Kindly check and update us whether reported issue have been resolved in your application. 
 
Regards, 
Gnana Priya N 


mohamed
Replied On December 12, 2019 11:52 AM UTC

Hello,

Thanks alot i upgraded to the Xamarin.forms 4.4.0.991265 Latest version as you suggested and everything worked as expected ,thanks.

Gnana Priya Namasivayam [Syncfusion]
Replied On December 13, 2019 05:43 AM UTC

Hi Mohammed, 
 
Thanks for the update. 
 
We are glad that reported issue has been resolved. Please let us know if need any further assistance from our side. 
  
Regards, 
Gnana Priya N 
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon