- (voID)setData:(BCPlayList *)List {UIDeviceOrIEntation orIEntation = [[UIDevice currentDevice] orIEntation]; if (orIEntation == UIDeviceOrIEntationPortrait || orIEntation == UIDeviceOrIEntationPortraitUpsIDeDown){ NSLog(@"portrait"); [self setPlayList:List]; [self renderPlayList]; [activity stopAnimating]; }else{ NSLog(@"landscape"); [self setPlayList:List]; [self renderPlayListOne]; [activity stopAnimating]; }}
我正确地改变了视图 – (voID)animateRotation:(UIInterfaceOrIEntation)interfaceOrIEntation
持续时间:(NSTimeInterval)持续时间{
但是在更改播放列表时已经在横向或纵向中不起作用.
UIDeviceOrIEntation orIEntation = [UIApplication sharedApplication].statusbarOrIEntation;总结
以上是内存溢出为你收集整理的ios – UIDeviceOrientation ipad全部内容,希望文章能够帮你解决ios – UIDeviceOrientation ipad所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)