http://developer.xamarin.com/guides/ios/application_fundamentals/working_with_images/
FromBundle
The FromBundle
method call is a synchronous (blocking) call that has a number of image loading and management features built-in, such as caching support and automatic handling of image files for various resolutions.
The following code, from the Xamarin.iOS Tabbed Application – Universal template, shows you how to assign a UIImage
to a TabBarItem
’s Image
property:
1
2 |
|