2011-04-06 65 views

回答

1

你可以將你的圖像放在UISCrollView中,並捕捉內部事件。然後,您可以獲取觸摸的座標,並使您的UIScrollView放大此區域。

編輯:正如我在評論說,看到the documentation特別是方法- (void)zoomToRect:(CGRect)rect animated:(BOOL)animated

+0

你能告訴我如何在一個特定的區域進行放大滾動型? – 2011-04-06 07:38:32

+0

我讓你看到[那裏](http://developer.apple.com/library/ios/#documentation/uikit/reference/UIScrollView_Class/Reference/UIScrollView.html),特別是方法' - (void)zoomToRect :(CGRect)rect animated:(BOOL)animated' – Geoffroy 2011-04-06 07:45:40

+0

+1非常感謝你 – 2011-04-06 08:59:20

相關問題