Open xavierpena opened 8 years ago
I have created a test project in order to isolate the issues and solve them:
Seems, like an iOS API change, i was able to make it work with no more change that this two signatures:
public override void Draw(CGRect rect) { ... }
protected RectangleF AdjustForThickness(CGRect rect)
@chrispellett Please take a look at the pull request of @cassionandi (pull request) it solve it and think about accepting it.
When I use the code in a new blank Xamarin Forms project (instead of directly using the code from github), I have the following error in
DrawShape.iOS
:'ShapeRenderer.Draw(RectangleF)': no suitable method found to override
Regarding other compilation errors, I had to change:
instead of:
... so maybe the new
UIView
from Xamarin Forms is somehow different than the one fromMonoTouch.UIKit
?