Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Can we use an image catalog from a shared project?

$
0
0

We're trying to emulate what used to be available in xcode as separate targets. We build a store and enterprise version of our app and so we need two different app IDs. I was trying to move a lot of the app code and resources into a shared project to be included in the actual application project. It builds fine but the following line has a problem:

_plusImage = new UIImageView (UIImage.FromBundle ("button-add-sm").ImageWithRenderingMode (UIImageRenderingMode.AlwaysTemplate));

The call to UIImage.FromBundle returns null. Is it not possible to have our image catalog in a shared project?

Or is there a better route to producing 2 builds with different app IDs / digital signing assets?


Viewing all articles
Browse latest Browse all 204402

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>