iOS SDK Version

FBSDKCameraEffectTextures

@interfaceFBSDKCameraEffectTextures:NSObject<FBSDKCopying,NSSecureCoding>
A container of textures for a camera effect. A texture for a camera effect is an UIImages identified by a NSString key.
  • Sets the image for a texture key.

    Declaration

    Objective-C
    -(void)setImage:(nullableUIImage*)imageforKey:(nonnullNSString*)key;
    Swift
    funcset(_image:UIImage?,forKeykey:String)

    Parameters

    image
    The UIImage for the texture
    key
    The key for the texture
  • Gets the image for a texture key.

    Declaration

    Objective-C
    -(nullableUIImage*)imageForKey:(nonnullNSString*)key;
    Swift
    funcimage(forKeykey:String)->UIImage?

    Parameters

    key
    The key for the texture

    Return Value

    The texture UIImage or nil