自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

多種多樣效果的狀態(tài)欄提示

移動開發(fā)
demo可以提供多種多樣的狀態(tài)欄提示效果,可以控制狀態(tài)提示從4個方向的進出,并有柔和或彈跳的效果,可以自定義提示內(nèi)容。

源碼簡介

demo可以提供多種多樣的狀態(tài)欄提示效果,可以控制狀態(tài)提示從4個方向的進出,并有柔和或彈跳的效果,可以自定義提示內(nèi)容。

源碼運行截圖

\

源碼片段:

  1. - (IBAction)btnShowNotificationPressed:(UIButton *)sender { 
  2.     [CRToastManager showNotificationWithOptions:[self options] 
  3.                                  apperanceBlock:^(void) { 
  4.                                      NSLog(@"Appeared"); 
  5.                                  } 
  6.                                 completionBlock:^(void) { 
  7.                                     NSLog(@"Completed"); 
  8.                                 }]; 
  9. - (IBAction)btnPrintIdentifiersPressed:(UIButton *)sender { 
  10.     NSLog(@"%@", [CRToastManager notificationIdentifiersInQueue]); 
  11.   
  12. - (IBAction)btnDismissNotificationPressed:(UIButton *)sender { 
  13.     [CRToastManager dismissNotification:YES]; 
  14. CRToastAnimationType CRToastAnimationTypeFromSegmentedControl(UISegmentedControl *segmentedControl) { 
  15.     return segmentedControl.selectedSegmentIndex == 0 ? CRToastAnimationTypeLinear : 
  16.            segmentedControl.selectedSegmentIndex == 1 ? CRToastAnimationTypeSpring : 
  17.            CRToastAnimationTypeGravity; 

源碼鏈接:http://down.51cto.com/data/1983082

責(zé)任編輯:chenqingxiang 來源: 網(wǎng)絡(luò)整理
相關(guān)推薦

2014-06-06 14:03:13

iOS狀態(tài)欄提示控件原理

2013-04-23 10:09:35

云計算亞馬遜混合云

2009-06-17 14:40:55

Java網(wǎng)絡(luò)編程連接數(shù)據(jù)庫

2021-07-22 23:40:15

數(shù)字人民幣支付寶微信

2016-11-29 11:20:08

Android

2017-02-17 11:00:57

狀態(tài)欄Android

2013-07-18 16:09:10

自定義iOS狀態(tài)欄iOS開發(fā)iOS學(xué)習(xí)

2012-12-24 14:42:48

iOS自定義狀態(tài)欄

2023-07-12 23:27:24

Powerline編輯器

2017-12-05 12:44:57

Android沉浸式狀態(tài)欄APP

2022-11-23 14:47:29

北向開發(fā)鴻蒙

2013-11-20 15:08:32

iOS開發(fā)狀態(tài)欄

2021-08-09 20:29:27

Android沉浸式狀態(tài)欄

2021-06-15 15:04:38

Android 12安卓通話

2021-06-15 15:28:31

谷歌Android開發(fā)

2011-06-16 11:15:04

2012-08-09 09:20:33

Office 2013Publisher

2018-05-16 09:11:19

Android狀態(tài)欄移動系統(tǒng)

2018-10-23 15:31:12

2015-02-06 11:08:19

點贊
收藏

51CTO技術(shù)棧公眾號