how to create a view like a cell with disclosure accessory button?
I want to pop up a view when user touch on the screen,it is just like a tablevi开发者_如何学编程ew cell with disclosure accessory button.It has text showing message and when the user press the accessory button,it will take some action.
I have seen a similar example in iphone cookbook, it create a UICalloutView:UIControl, but it seems that it uses some private API.
can anyone tell me how to achieved this?
Well, it's probably private. You could printScrn the accessory and add it as a resource to your project, and use it as an image.
精彩评论