开发者

UIScrollView not zooming at all

I made a UIScrollView, added a UIImageView to as a subView, set the viewForZoomingInScrollView: method to return the subView, set the UIScrollView's delegate to self in my viewDidLoad, set my 开发者_运维技巧ViewController to be a UIScrollView delegate, set the maxZoom to 5.00 in IB, and I still am unable to scroll

I'm using the iPhone simulator, pressing the option key to get they grey circles then moving my mouse, and nothing's happening.

Any ideas what I'm missing? Cheers


Did you set the content size?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜