iOS提示氣泡控件:Product Tour

jopen 10年前發布 | 38K 次閱讀 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];

特性

  • 易于整合
  • 顏色,字體大小可定制
  • 不同的箭頭方向
  • 多行或一列用于描述
  • 集成示例

iOS提示氣泡控件:Product Tour

項目主頁:http://www.baiduhome.net/lib/view/home/1393401808568

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!