📌#38 利用 page control,segmented control,button & gesture 更換內容
Published in
May 28, 2022
🧠 以自己最愛的3個義大利bar早餐為主角!
✏️:Gesture
- 點選要滑動的imageView,勾選User Interaction Enabled
- 加入+2個Swipe Gesture Recognizer ,分別設Right及Left
- 2個Swipe Gesture Recognizer ,分別拉@IBAction func previousPage 及 @IBAction func nextPage