On this page←API Reference Return to API Reference index←packageSwiftyNsdk SwiftyNsdk Method loadImage loadImageLoads an image from the data source.... Declaration func loadImage(imageName: String) -> CGImage? Summary Loads an image from the data source. This method is called on-demand when a frame image is requested. - Parameter imageName: The filename of the image (e.g., "frame_00000000.jpg") - Returns: The image as a CGImage, or nil if loading fails
Loads an image from the data source.
This method is called on-demand when a frame image is requested.
- Parameter imageName: The filename of the image (e.g., "frame_00000000.jpg")
- Returns: The image as a
CGImage, ornilif loading fails