iOS Question Object not iniialized (UIImage)

tsteward

Well-Known Member
Licensed User
Longtime User
Not sure why this crashes.
xResizeAndCrop puts an image on pnlCroppedImage.
In B4A I didn't need to initialize

My Code is
B4X:
Dim bmpCroped As Bitmap
bmpCroped.Initialize2(pnlCroppedImage.GetBitmap)
In B4A I use
B4X:
Dim bmpCroped As Bitmap
bmpCroped = pnlCroppedImage.GetBitmap

In B4I I get this error
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…