en

hi, it seems you are using microsoft internet explorer. it doesn't match web standard and causes problems browsing this site. please please please use mozilla firefox or google chrome instead. thank you!

zh

哦哦!您正在使用Internet Explorer 瀏覽器,它與我們的網頁標準並不相容,可能會導致畫面顯示不正常。
請改用 Mozilla Firefox 或者 Google Chrome 才能正常瀏覽本網站,謝謝!

5.11.2012

更換 UIPageControl 上 Dot 介面的方法

 

在之前使用 UIPageControl 與 UIScrollView 來實作畫面切換的效果一文中,已經介紹過如何使用 UIPageControl 與 UIScrollView 來作互動完成畫面的切換,如果對於 UIPageControl 在操作上有問題的讀者們,不妨直接參考該篇文章來設定,而下面我們就只針對更換 UIPageControl 的 Dot 介面作示範。

5.07.2012

使用 UIPageControl 與 UIScrollView 來實作畫面切換的效果

  

使用 UIPageControl 與 UIScrollView 來實作畫面切換的效果,在 iOS 中應該算是最常見的應用。UIPageControl,一個可以顯示目操作狀態 UIControl 元件;UIScrollView 一個提供捲軸功能的 UIView 元件,下面就來看看如何透過這兩個元件來幫助我們達成切換畫面的效果。