Gets an image from the specified bundle that is compatible with the specified trait collection.
Syntax
[Foundation.Export("imageNamed:inBundle:compatibleWithTraitCollection:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_8_0)]
public static
UIImage FromBundle (
string name,
Foundation.NSBundle bundle,
UITraitCollection traitCollection)
Parameters
- name
- Loads an image from the bundle with the specified path name.
- bundle
The bundle in which the image file or asset catalog is located.
This parameter can be null.
- traitCollection
Traits describing the desired image to be retrieved.
This parameter can be null.
Returns
Documentation for this section has not yet been entered.
Remarks
Requirements
Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0