iPhone: How to make a tip balloon programmatically?
Please provide the code to make a tip balloon programmatically, like Grindr has. I want it to be sized automatically, based on the text & font-size. And, I want to be able to change the location of the arrow. If it's on an end, it should be a right triangle. Otherwise, it should be an eqilateral triangle. // AppDelegate.h @interface AppDelegate : NSObject <UIApplicationDelegate> { } @property (nonatomic, retain) UIWindow *window; @end // AppDelegate.m #import "AppDelegate.h" #import "TipBalloon.h" @implementation AppDelegate @synthesize window; #pragma mark NSObject - (void)dealloc { [window