Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 03-23-2009, 02:07 AM   #2 (permalink)
craiglittle
New Member
 
Join Date: Nov 2008
Location: BrisVegas
Posts: 105
Send a message via Skype™ to craiglittle
Default

Yes, including the callout views and responding to callout tap events. I would recommend following the Docco rather than relying on sample code, as most of the sample code I have seen has been inaccurate.

One thing I will point out that is unclear in the documentation is creating the view for the callout. The viewForCalloutAccessoryPosition: method can return any type of UIView descendant, but if you want to respond to user taps (via the mapView:annotationView:accessoryButtonTappedAtPosi tion: method) then you have to create it as a UIButton. The docco doesn't explicitly state this, but on my 12th reading I noticed that the docco hints at this.
__________________
The important thing is not so much that every child should be taught, as that every child should be given the wish to learn.
- Sir John Lubbock.
craiglittle is offline   Reply With Quote
 

» Advertisements
» Online Users: 826
20 members and 806 guests
chiataytuday, DarkDaiver, Desert Diva, dfvdan, Domele, ghz.rai, ironfish8, jjig99, kiancheong, leahov, LEARN2MAKE, MarkC, nathanrose, Naughty_Ottsel, phackdat, pratikchandak, srishtimehta, Sunny46, twerner, _Mac
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,836
Threads: 89,209
Posts: 380,644
Top Poster: BrianSlick (7,129)
Welcome to our newest member, abbylowin
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:45 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.