I have a Xamarin project in the style of MvvmCross. There are subprojects:
- Core (PCL)
- ViewModel (PCL)
- iOS (Executable)
If I add an image to my iOS project (Resoureces / Images / test_image.png), I can upload it using this code:
UIImage image = UIImage.FromBundle("Images/test_icon.png");
Now I want to use a new subproject
This library should load the image. I added an image to the controls (Resoureces / Images / test_image.png)
But I canβt upload this image to Controls proj.
My question is: how to download images from iOS libraries?
public class MyButton : UIButton { public MyButton () : base() { Initialize (); } void Initialize() {
and the ViewController class:
public partial class FirstView : MvxViewController { public FirstView () : base ("FirstView", null) { } public override void ViewDidLoad () { base.ViewDidLoad ();

Here is the complete project: https://bitbucket.org/ww_wschaefer/xamarin-first-crossover-app/overview
source share