I'm Alejandro Ramírez
I develop iOS apps written in Swift/Objective-C. I work remotely from Spain.
I’m also at janodevorg.
janodev / callout Goto Github PK
View Code? Open in Web Editor NEWMKAnnotation callout with a custom XIB
MKAnnotation callout with a custom XIB
I'm Alejandro Ramírez
I develop iOS apps written in Swift/Objective-C. I work remotely from Spain.
I’m also at janodevorg.
Using a UITapGestureRecognizer
to prevent the map from intercepting touches to the callout is a nice idea. However, it also appears to have drawbacks.
One of them is that UIButtons
, while visually responding to touches, never actually end up calling the associated actions. This cannot be eliminated by implementing the
- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch
delegate method because although the action methods are called, the callout ends up getting closed as well.
This might be because I'm using a slightly modified version of your callout code and replacing the view in MyCallout
with my own view.
Hello,
Thanks for the wonderful work you have done.
I'm trying to create an annotation why two buttons in it.
When I'm clicking on the button, the methode handleTouch of my CalloutView subclass is called. But the sender is an UITapGestureRecognizer with the annotation in the view property I was expected to have my button into the sender.view?
Is it a well known issue. Or I'm I doing something wrong ?
Hi,
Would you consider creating a podspec for this project? Or would you rather someone else do it for you?
When using a custom image for the Content.iconURL (Content.h), the image is not center on the point coordonate. So when whe zoom in/out the point seam to change it position.
Is it a well know issue or I'm I doing some thing wrong ?
Thank you for all your work, it's help a lot !
Hello,
The call out view only fits inside the frame the first time it is called. If you try to select another annotation callout view while one is still open, it is outside the frame. However, if you close the first one and then open another it fits inside the frame again. Has anyone seen this? and does anyone know how to fix it?
Hi,
Can any body teach me how to add button with delegate the fantastic callout ?
That is my email [email protected]
Cheers.
Greetings,
When you have a number of annotation pins on the map, and you press down on a pin, then drag your finger/cursor to another annotation (without releasing), eventually it crashes. It seems to be OK when you do it slowly, but any fast moments cause the app to crash. I have verified that it happens in iOS 5 and 6 and on all devices. While a user is not typically going to do this behavior, I have encountered this same crash when using the app normally, although it seems to be hard to reproduce. The crash occurs in didDeselectAnnotationViewInMap (AnnotationView.m) when removeAnnotation is called.
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFSet removeObject:]: attempt to remove nil'
Ideas?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.