iOS SDK 版本

FBSDKCameraEffectTextures

@interfaceFBSDKCameraEffectTextures:NSObject<NSCopying,NSObject,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

  • Gets the image for a texture key.

    Declaration

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

    Parameters

    Return Value

    The texture UIImage or nil