Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (19 sloc) 0.826 kb

CustomCallout - a UICalloutView replacement for iOS

This is a custom control that you can use to emulate the look and feel of Apple's UICalloutView, without using any private APIs.

Features

All the basic functionality, correct placement on the screen, support for Retina.

Screenshot

Requirement

  • iOS 3.0 SDK or later, demo project is using iOS 4.1 SDK.
  • QuartzCore framework.

How to Use

  1. Copy the images, CustomCallout.* and UIView+position.h to your project
  2. Add the control as:
 CustomCallout* cc = [[CustomCallout alloc] initWithAnchor:p text:@"Test Callout!" delegate:self param:sender];
 [cc showWithAnimationInParent:self.view];
 [cc release];
  1. Profit!

License

CustomCallout is released under MIT License.

Jump to Line
Something went wrong with that request. Please try again.