Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom cell with image and custom imagePicker #434

Open
morganbigot opened this issue Dec 7, 2015 · 0 comments
Open

Custom cell with image and custom imagePicker #434

morganbigot opened this issue Dec 7, 2015 · 0 comments

Comments

@morganbigot
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant