Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Select from a Gallery image in Xamarin.Forms

$
0
0

Hello, i'm starting a new project to manage user's contacts on Xamarin.Forms. I know that DependencyService is useful to access native features on each platform, and i can use ImagePiker in iOS or an intent in Android to select an image from a Gallery in a Cross-Platforms application (to use it as the avatar of the user's contacts). But how can i do this in the shared project using Xamarin.Forms? Can i access the onActivityResult method with DependencyService for example? Or even can i have control of the activities or viewControllers created from every Page in Xamarin.Forms?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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