2011-08-31 53 views
0

我使用three20來顯示縮略圖。它的工作完美。但我需要調整縮略圖的大小。是否有可能調整縮略圖和布爾shouldAutorotateToInterfaceOrientation也不支持three20和方向

我執行檢查在viewDidLoad方法

TTDeviceOrientationIsPortrait()
TTDeviceOrientationIsLandscape方向();

但它不是在shouldAutorotateToInterfaceOrientation方法

回答

0

我固定的問題,通過使用NSNotification方向

[NSNotificationCenter defaultCenter]的addObserver工作:自 選擇:@selector(orientationDidChange :) name:UIDeviceOrientationDidChangeNotification o bject:無];

,並通過改變大小

Change thumbs size in TTThumbsViewController

參考鏈接