IOS常用第三方框架 --- CMPopTipView 提示信息

来源:互联网 发布:不要钱的恋爱软件 编辑:程序博客网 时间:2024/06/15 08:07

GitHub:https://github.com/chrismiles/CMPopTipView


CMPopTipView用于在一些视图上显示提示信息:


self.tipView = [[CMPopTipView alloc] initWithMessage:@"提示消息"];self.tipView.delegate = self;[self.tipView presentPointingAtView:anyButton inView:self.view animated:YES];// 点击按钮显示[self.tipView presentPointingAtBarButtonItem:barButtonItem animated:YES]; // 点击导航栏按钮显示   #pragma mark CMPopTipViewDelegate methods- (void)popTipViewWasDismissedByUser:(CMPopTipView *)popTipView {      // 清理资源      self.tipView = nil;}
0 0
原创粉丝点击