Open morganbigot opened 8 years ago
Hello,
I would like to create a custom cell in my form with an UIImageView displaying the image chosen in a custom FilePickerImageViewController. I can't manage to set the image in the cell and save it as a value to reload the cell.
Here is the CustomButtonCell.h file :
#import "FXForms.h" @interface CustomButtonCell : FXFormBaseCell @property (nonatomic, strong) IBOutlet UIImageView * logoImageView; @end
I launch my FilePickerImageViewController from the form
- (NSDictionary *)logoImageCellField { return @{FXFormFieldCell: [CustomButtonCell class], FXFormFieldAction: @"submitAddLogoInForm:"}; }
Could you please tell me what to implement in the CustomButtonCell.m and in the form to be able to do so ?
Regards, Morgan.
Hello,
I would like to create a custom cell in my form with an UIImageView displaying the image chosen in a custom FilePickerImageViewController. I can't manage to set the image in the cell and save it as a value to reload the cell.
Here is the CustomButtonCell.h file :
I launch my FilePickerImageViewController from the form
Could you please tell me what to implement in the CustomButtonCell.m and in the form to be able to do so ?
Regards, Morgan.