diff --git a/Pod/Classes/DownPicker.m b/Pod/Classes/DownPicker.m index 60d6216..f35c892 100644 --- a/Pod/Classes/DownPicker.m +++ b/Pod/Classes/DownPicker.m @@ -225,7 +225,7 @@ -(void) showArrowImage:(BOOL)b -(void) setArrowImage:(UIImage*)image { - [(UIImageView*)self->textField.rightView setImage:image]; + [self->textField setRightView:[[UIImageView alloc] initWithImage:image]]; } -(void) setPlaceholder:(NSString*)str