In ImageUtils.cs line 81, replace:
UIGraphics.BeginImageContext(size);
with:
if (UIScreen.MainScreen.RespondsToSelector(new Selector("scale")))
{
UIGraphics.BeginImageContextWithOptions(size, false, UIScreen.MainScreen.Scale);
}
else
{
UIGraphics.BeginImageContext (size);
}
You'll need the if block to check for "scale" because it is only supported on iOS 4 and above.
No comments:
Post a Comment