2011-04-07 66 views
1

有人可以告诉我plz是否有可能使用:UIGestureRecognizer在ipad应用程序中的图像切换此图像为全屏视图时捏入和恢复到原始大小捏出来?任何代码示例都会很棒。全屏图像捏ipad

感谢

回答

1

要隐藏导航栏使用 -

[[self navigationController ] setNavigationBarHidden:NO animated:NO]; 

看到我这个答案隐藏的TabBar -

How to hide uitabbarcontroller

+0

感谢您的链接,但它是一个较新的帖子,我m试图做一些关于ipad的东西。所以如果你有另一个:)。 – iPadDevloperJr 2011-04-07 10:43:50

+0

简单的谷歌搜索给我这个 - http://www.edumobile.org/iphone/iphone-programming-tutorials/how-to-detect-pinch-in-iphone/ – Saurabh 2011-04-07 11:02:12

+0

也检查了这个 - http://stackoverflow.com/questions/3448614/uiimageview-gestures-zoom-rotate-question – Saurabh 2011-04-07 11:04:10