I\'ve read some posts on this, but still can\'t get the answer to my question.
I have a disclosure indicator.
you can try with uiimageview to apply cell accessoryType like below code:
cell.accessoryView = myAccessoryUIImageView;
cell accessoryview uiimageview not align correctly try below code:
UIView* accessoryView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 24, 50)];
UIImageView* accessoryViewImage = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"accessory_image.png"]];
accessoryViewImage.center = CGPointMake(12, 25);
[accessoryView addSubview:accessoryViewImage];
[cell setAccessoryView:accessoryView];
[accessoryViewImage release];//not use this line your ios sdk in 5.0 and above!
[accessoryView release];//not use this line your ios sdk in 5.0 and above!