2011-12-01 49 views
0

我會在每個縮放比例中始終顯示uiview。在Photoscroller中始終處於頂端的視圖示例

在PhotoViewController.m的方法的loadView我

以下嘗試:

[self.view addSubview:test]; 
    [self.view bringSubviewToFront:test];  

...沒有成功....

有人可以幫助我嗎?

映入眼簾,菲爾

回答

0

據我所知,變焦動作之後調用的委託方法

- (void)scrollViewDidZoom:(UIScrollView *)scrollView { 
//write the bringsubviewtofront code here 
} 

它可以工作

+0

感謝,但它不工作... – Phil

相關問題