If you’ve ever run into a situation where you needed to take multiple segments of an image and turn them into touchable areas – such as if you were working with a map you could split the image into many pieces and define touch handling for each segment or create an image map.
Here’s a user interface control submitted by Sung-Take, Kim that allows you to easily create complex image maps where each defined section of the image can receive touches. You can use a tool like Gimp to create the image maps then use the definitions for each segment with this control.
Included is an example using a map of the US with the coordinates for the shape of each state defined within a Plist file.
You can find MTImageMapView on Github here.
A nice straightforward way to create working interactive image maps.
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.