Fix bus #7280 by changing the file which the UIImage is supposed to load.(The original file does not exist)
This commit is contained in:
bopang 2013-06-06 16:17:47 -04:00
Родитель 9a64c0acc0
Коммит 33c5f3e1ac
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -37,7 +37,7 @@ namespace Example_Drawing.Screens.iPad.Images
CGImageAlphaInfo.PremultipliedFirst)) {
// declare vars
UIImage apressImage = UIImage.FromFile ("Images/Icons/512_icon.png");
UIImage apressImage = UIImage.FromFile ("icon-114.png");
PointF imageOrigin = new PointF ((imageView.Frame.Width / 2) - (apressImage.CGImage.Width / 2), (imageView.Frame.Height / 2) - (apressImage.CGImage.Height / 2));
RectangleF imageRect = new RectangleF (imageOrigin.X, imageOrigin.Y, apressImage.CGImage.Width, apressImage.CGImage.Height);