CAMediaDelegate

2018-09-10 16:19 更新

類(lèi)說(shuō)明

獲取照相或相冊(cè)圖片


CAMediaDelegate 方法(點(diǎn)擊查看方法介紹)

方法說(shuō)明
getSelectedImage獲取圖片



CAMediaDelegate 方法說(shuō)明

virtual void getSelectedImage(CCImage *image) = 0

返回值:void

參數(shù):CCImage *image

類(lèi)型參數(shù)名說(shuō)明
CCImage*image圖像

解釋?zhuān)盒枰褂孟鄡?cè),照相機(jī)功能時(shí)需要繼承此類(lèi),重寫(xiě)getSelectedImage方法,在這個(gè)方法內(nèi),參數(shù)image就是從設(shè)備傳遞過(guò)來(lái)的圖片。

以上內(nèi)容是否對(duì)您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號(hào)
微信公眾號(hào)

編程獅公眾號(hào)