iOS提示氣泡控件:Product Tour
CRProductTour 這個彈出控制控件是一個 iOS 用戶幫助系統,在按鈕和其他視圖旁邊顯示提示氣泡,介紹應用的不同特性。用法:
productTourView = [[CRProductTour alloc] initWithFrame:self.view.frame] ; //Setup your bubbles CRBubble *bubbleButton1 = [[CRBubble alloc] initWithAttachedView:_button1 title:@"My Title" description:@"A smal description" arrowPosition:CRArrowPositionBottom andColor:[UIColor redColor]]; NSMutableArray *bubbleArray = [[NSMutableArray alloc] initWithObjects:bubbleButton1, nil]; [productTourView setBubbles:bubbleArray]; [self.view addSubview:productTourView];
特性
- 易于整合
- 顏色,字體大小可定制
- 不同的箭頭方向
- 多行或一列用于描述
- 集成示例
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!