這個物件會向 GCKUIImagePicker 提供提示,指出要在使用者介面中顯示的圖片類型和大小。
- 辛策
- 3.0
沿用 NSObject、<NSCopy> 和 <NSCoding> 的 NSObject。
便利初始化器。
將自訂資料設為 nil
。
- Parameters
-
imageType | The image type. |
imageSize | The image size. |
- (instancetype) initWithImageType: |
|
(GCKMediaMetadataImageType) |
imageType |
imageSize: |
|
(CGSize) |
imageSize |
customData: |
|
(NSObject< NSCoding > *__nullable) |
customData |
|
|
| |
指定初始化器。
- Parameters
-
imageType | The image type. |
imageSize | The image size. |
customData | The arbitrary custom data that can be used by a custom GCKUIImagePicker to select an image. |
- (NSObject<NSCoding>*) customData |
|
readnonatomiccopy |
可用來識別圖片的自選自訂資料。
且必須遵守鍵/值編碼。