Nativescript-dialog adding an image


I just wondered has anyone used nativescript-dialog plugin ? I’m trying to add a custom image to the
dialog but I’m hitting a brick wall. I can’t figure out the correct Objc/java to add the image.

so to show an activity spinner in ios:

nativeView = UIActivityIndicatorView.alloc().initWithActivityIndicatorStyle(UIActivityIndicatorViewStyle.UIActivityIndicatorViewStyleGray);

So I figure to show an image you would use ‘UIImage.alloc()…’ problem is Im not sure what comes next and how to reference the app resources.

Thanks for reading!