2016-03-24 13 views

答えて

-1

これを試してください:あなたの姿勢変更の必要条件に従って異なる値を使用することができます

-(IBAction)buttonClick:(id)sender 
{ 
    [[UIDevice currentDevice] setValue: 
    [NSNumber numberWithInteger: UIInterfaceOrientationPortrait] 
           forKey:@"orientation"]; 
} 

+0

ありがとう、 私の問題の完璧な解決策 – fasoal

関連する問題