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 才能正常瀏覽本網站,謝謝!
在 UIImageView 包含著許多變形的功能,如果不對 Anchor Point 加以設定,通常都會以影像的正中心為主來進行變形的動作。Anchor Point 稱作「錨點」或是「定位點」,正常的情況下 Anchor Point 會位在影像的正中心,就如上圖這樣,我們將影像做放大的變形,它會以中為準,像四面八方做等比例的放大,下列程式碼將示範以放大影像為例,如何設定Anchor Point 在不同的位置與 Anchor Point 對影像所造成的影響。