Is there an equivalent function available in Xamarin.iOS for CGPointFromString
I looked at online Xamarin API documents and nothing that I found relevant.
Is there an equivalent function available in Xamarin.iOS for CGPointFromString
I looked at online Xamarin API documents and nothing that I found relevant.
There is not any built in method for equivalent to CGPointFromString in Xamarin.iOS. You can use following to get CGPoint from string.
String str = "{23,213}";
str = str.Replace('{', '');
str = str.Replace('}', '');
string[] coord = str.Split(',');
CoreGraphics.CGPoint pt = new CoreGraphics.CGPoint(Int64.Parse(coord[0]), Int64.Parse(coord[1]);