UIScrollView に入れられた ContentView の frame は自動的に UIScrollView の大きさ分増える。 例えば IB で View の大きさを 1000x1000 にして、UIScrollView を一杯で使うとするとナビゲーションバーとタブコントロールありの場合、1320x1367 になる。(横だと1480x1219)

IB で UIScrollView の大きさを大きく指定しておいて、Nibのロード時に縮小されると、そこにタッチイベントが行かなくなるので、UIScrollView は実際に使う大きさ以下に設定するのがよさげ。

posted by Face Saturn on Thu 7 Oct 2010 at 01:09
Contents
UIScrollView と ContentView
Comments
瀧内元気: MacOS版は以下にあります * [genki/ViMouse](https://githu... '23-1
KingofSmack: Here also good reads for this mobile applicatio... '14-5
Spencer: You don't have to re-compile it, this version w... '14-4
staiano: Any chance we can get a recompile for 10.9? '14-1
dsjf: https://gist.github.com/6bf1bf2c3cbb5eb6e7a7 これ... '13-1
Services from s21g
twpro(ツイプロ)
Twitterプロフィールを快適検索
地価2009
土地の値段を調べてみよう
MyRestaurant
自分だけのレストラン手帳
Formula
ブログに数式を埋め込める数式コミュニティ