mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
810 B
810 B
nav-title, title, description
| nav-title | title | description |
|---|---|---|
| image-source How-To | How-To | Examples for using image-source |
Image source
Using the image source requires the image-source module.
The pre-required imageSource module is used throughout the following code snippets.
We also use fs module defined as follows:
Loading and saving images
Load image using resource name
This is similar to loading Bitmap from R.drawable.logo on Android or calling [UIImage imageNamed@"logo"] on iOS