TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Nelson.
A movable, resizable, rotatable UIView with one finger, which is fully customizable!
Add CHTStickerView.{h,m}
to your Xcode project.
See the Sample
project for more details.
- (void)viewDidLoad {
[super viewDidLoad];
UIView *testView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 150, 100)];
testView.backgroundColor = [UIColor redColor];
CHTStickerView *stickerView = [[CHTStickerView alloc] initWithContentView:testView];
stickerView.center = self.view.center;
stickerView.delegate = self;
[stickerView setImage:[UIImage imageNamed:@"Close"] forHandler:CHTStickerViewHandlerClose];
[stickerView setImage:[UIImage imageNamed:@"Rotate"] forHandler:CHTStickerViewHandlerRotate];
[self.view addSubview:stickerView];
}
CHTStickerView is heavily inspired by ZDStickerView and IQStickerView.
See the Releases Page.
Try it yourself, and welcome to send me pull-requests.