Skip to main content
API Reference SwiftyNsdk

loadImage

Loads 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


ON THIS PAGE