This repository was archived by the owner on Feb 22, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +28
-2
lines changed
packages/image_picker/image_picker/ios/Classes Expand file tree Collapse file tree 1 file changed +28
-2
lines changed Original file line number Diff line number Diff line change 6
6
7
7
#import < image_picker/FLTImagePickerPlugin.h>
8
8
9
- // / Methods exposed for unit testing.
9
+ /* * Methods exposed for unit testing. */
10
10
@interface FLTImagePickerPlugin ()
11
11
12
+ /* * The Flutter result callback use to report results back to Flutter App. */
12
13
@property (copy , nonatomic ) FlutterResult result;
14
+
15
+ /* *
16
+ * Applies NSMutableArray on the FLutterResult.
17
+ *
18
+ * NSString must be returned by FlutterResult if the single image
19
+ * mode is active. It is checked by maxImagesAllowed and
20
+ * returns the first object of the pathlist.
21
+ *
22
+ * NSMutableArray must be returned by FlutterResult if the multi-image
23
+ * mode is active. After the pathlist count is checked then it returns
24
+ * the pathlist.
25
+ *
26
+ * @param pathList that should be applied to FlutterResult.
27
+ */
13
28
- (void )handleSavedPathList : (NSArray *)pathList ;
14
- - (void )imagePickerControllerDidCancel : (UIImagePickerController *)picker ;
29
+
30
+ /* *
31
+ * Tells the delegate that the user cancelled the pick operation.
32
+ *
33
+ * Your delegate’s implementation of this method should dismiss the picker view
34
+ * by calling the dismissModalViewControllerAnimated: method of the parent
35
+ * view controller.
36
+ *
37
+ * Implementation of this method is optional, but expected.
38
+ *
39
+ * @param picker The controller object managing the image picker interface.
40
+ */ - (void )imagePickerControllerDidCancel:(UIImagePickerController *)picker;
15
41
16
42
@end
You can’t perform that action at this time.
0 commit comments