fromResource
open override fun fromResource(imageResource: ERROR CLASS: Symbol not found for ImageResource): ERROR CLASS: Symbol not found for ImageProvider
Returns an ImageProvider for the UIImage behind imageResource.
Throws
IllegalArgumentException
if the asset is missing from its bundle.
open override fun fromResource(imageResource: ERROR CLASS: Symbol not found for ImageResource, isCacheable: Boolean): ERROR CLASS: Symbol not found for ImageProvider
Returns an ImageProvider for the UIImage behind imageResource. isCacheable has no effect on iOS and is accepted only to keep the common interface uniform.
Throws
IllegalArgumentException
if the asset is missing from its bundle.