Can anybody tell me the example code for UICalloutView in iphone.
Asked
Active
Viewed 2,143 times
0
-
there is no such class in cocoa-touch. Can you revise your question? – Jason Coco Jan 20 '11 at 06:27
-
actually i saw this from http://iphonedevwiki.net/index.php?title=UICalloutView but it's not working. it works like a dialog box . – Nitin Jan 20 '11 at 06:30
-
1You can't use that, it's not a public class. What are you actually trying to do? This view is used by the system when displaying maps. Basically when you tap on a point on the map (an annotation) this view is created, but you can't use it directly. – Jason Coco Jan 20 '11 at 06:46
-
actually i want to display a dialog box or popup menu on the click. – Nitin Jan 20 '11 at 06:54
-
1If you're using a map, look at MKAnnotation (which is where the callout view gets its data from in general), if you're talking about a general dialog box, see UIAlertView and UIActionSheet – Jason Coco Jan 20 '11 at 07:33