veader / V8HorizontalPickerView

Horizontal UIPickerView Control for iOS
zlib License
233 stars 44 forks source link

create image selector using the V8HorizontalPickerView #5

Open fusjh2o opened 12 years ago

fusjh2o commented 12 years ago

I want to create image selector. selecting one image, the image move to center and hight light. I define the function "- (UIView )horizontalPickerView:(V8HorizontalPickerView )picker viewForElementAtIndex:(NSInteger)index" and implement the protocol "V8HorizontalPickerElementState". when I first reloadData, it display normally, later the images don't display. I implement as follows:

pragma mark - HorizontalPickerView Delegate Methods

@interface UIDeviceImageCell : UIImageView {

}

@end

import "UIDeviceImageCell.h"

@implementation UIDeviceImageCell

@end

thx