FBAdImage
이 클래스의 최신 버전을 사용할 수 있습니다. 확인해보세요 최신 버전.

Represents an image creative.

Superclass:NSObject
Declared in:FBAdImage.h
속성
height

Typed access to the image height.

@property (nonatomic, assign, readonly) NSInteger height;
정의된 값: FBAdImage.h
url

Typed access to the image url.

@property (nonatomic, copy, readonly, nonnull) NSURL *url;
정의된 값: FBAdImage.h
width

Typed access to the image width.

@property (nonatomic, assign, readonly) NSInteger width;
정의된 값: FBAdImage.h
인스턴스 메서드
initWithURL:width:height:

This is a method to initialize an FBAdImage.

매개변수설명
url

The image url.

width

The image width.

height

The image height.

- (instancetype)
initWithURL: (NSURL *)url
width: (NSInteger)width
height: (NSInteger)height
NS_DESIGNATED_INITIALIZER;
정의된 값: FBAdImage.h
loadImageAsyncWithBlock:

Loads an image from self.url over the network, or returns the cached image immediately.

매개변수설명
block

Block to handle the loaded image.

- (void) loadImageAsyncWithBlock:(nullable void(^)(UIImage * __nullable image))block;
정의된 값: FBAdImage.h