0
我使用的幻燈片過渡,UIView的幻燈片切換,鑑於基於應用
通過使用此代碼,
Home *lisnx = [[Home alloc] init];
CATransition *animation = [CATransition animation];
[self presentModalViewController:lisnx animated:NO];
[animation setDuration:0.40];
[animation setType:kCATransitionPush];
[animation setSubtype:kCATransitionFromLeft];
[[lisnx.view layer] addAnimation:animation forKey:@"SwitchToView1"];
[lisnx release];
,但在橫向模式下,當我從一個視圖移動到另一個視圖的每一件事右移 景觀我已經使用這個代碼,
self.view.bounds=CGRectMake(0.0,0.0,480.0,320.0);
scroll.frame=CGRectMake(0.0,0.0,480.0,320.0);
bgImg.frame=CGRectMake(0.0,0.0,480.0,320.0);
如何從這個問題的出路請一些身體幫我。
格式的代碼:)這是很難讀,否則 – self