iT邦幫忙

0

UICollection

是不是在UICollectionReusableView Class裡面沒有present?
如果想在裡面展現照片選擇器的話,我該怎麼辦?
https://ithelp.ithome.com.tw/upload/images/20210717/201392783Y7dM1mPyi.pnghttps://ithelp.ithome.com.tw/upload/images/20210717/20139278CcIFRvLOJq.png

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 個回答

0
海綿寶寶
iT邦大神 1 級 ‧ 2021-07-17 10:11:58
最佳解答

由於 UICollectionReusableView 是 UIView 而不是 UIViewController
所以沒有 present (UIViewController) 可用

可以透過 delegate 的方式
達到你的目的

我要發表回答

立即登入回答