npm i react-native-image-zoom-viewer --save. 然後引入ImageViewer元件,然後設定圖片的資料來源即可,imageUrls接受一個圖片陣列。下面是一個簡單的例項程式碼:
確定! 回上一頁