2012-01-24 16 views

答えて

2

あなた自身のような質問には、どのオブジェクトクラスでも答えることができます。問題のオブジェクト(UIScrollView)をコマンドを押しながらクリックすると、次のように表示されます。

@property(nonatomic) float minimumZoomScale;  // default is 1.0 
@property(nonatomic) float maximumZoomScale;  // default is 1.0. must be > minimum zoom scale to enable zooming 
0

セットの両方maximumZoomScaleminimumZoomScale scrollviewの性質1.0へ。

scrollview.maximumZoomScale = 1.0; 
scrollview.minimumZoomScale = 1.0; 

またはInterface Builderで実行します。

関連する問題