使用Xcode 4.3.2.
从昨天开始,我无法上传到iTunes商店.我找不到任何理由.
存档 - >验证......没问题.
但是,分发时发生了错误.

我的应用正在使用Push.
我的Xcode版本是4.3.2.
我该怎么办才能逃脱这种状态?
请帮帮我......谢谢.
我想在App中保存用户的ID和密码.
保存ID和密码时,推荐的加密方式是什么.
我从越狱或黑客中找到了更安全的方法.
GenericKeychain示例代码怎么样?
我对如何使用像GenericKeychain示例代码的Keychain一样安全.
请告诉我一些建议.谢谢^^*
我使用CustomCell的,而不是UITableViewCell上UITableView.
我把两个放UILables了CustomCell.
提到这个网站:在这里,但我失败了......
问题:如何控制UILabels的行间距?
我正在使用MPMoviePlayerController制作应用程序.
我想做特别的功能.
我想要的功能是这样的.
如果我播放电影,播放器将在几秒后停止(例如:30秒).
如果我点击播放按钮,播放器必须从30秒播放到下一个停止点.
对我来说,实现这个功能,我使用 initialPlaybackTime和endPlaybackTime的选项MPMoviePlayerContrller.
但是,这个功能并不像我的想法那样有效.
mplayer.initialPlaybackTime = 0;
mplayer.endPlaybackTime = 10;[mplayer play];
....
[mplayer pause];,,,
mplayer.initialPlaybackTime = 10;
mplayer.endPlaybackTime = 30;
[mplayer play];
并且,mplayer再次从0到10播放,而不是从10到30播放.
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation{
return YES;
}
- (void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation {
[self positionViews];
}
-(void)positionViews {
UIInterfaceOrientation destOrientation = self.interfaceOrientation;
if (destOrientation == UIInterfaceOrientationPortrait ||
destOrientation == UIInterfaceOrientationPortraitUpsideDown) {
[bLabel setFrame:CGRectMake(255, 10, 270, 60)];
} else {
[bLabel setFrame:CGRectMake(377, 10, 270, 60)];
}
}
Run Code Online (Sandbox Code Playgroud)
bLabel 是Cutomed对象.
当IPad(设备)旋转时,bLable旋转.但出现时间滞后.因此旋转运动不顺畅.
我的代码有什么缺点?如何在没有IB的情况下自然控制对象的自动调整?
请告诉我你的建议.谢谢!!!

我无法播放mp3音频文件.
URL_PATH = @"http://...../.…./A1.mp3";
Run Code Online (Sandbox Code Playgroud)
NSError*错误;
player = [[AVAudioPlayer alloc]initWithContentsOfURL:[NSURL URLWithString:URL_PATH] error:&error];
if (error)
{
NSLog(@"error:%@",error.localizedDescription);
}
if (player ==nil)
{
NSLog(@"nil");
}
else
{
NSLog(@"playing");
[player play];
}
Run Code Online (Sandbox Code Playgroud)
错误代码 :
error:The operation couldn’t be completed. (OSStatus error -43.)
nil
Run Code Online (Sandbox Code Playgroud)
我能怎么做?请告诉我提示.预先感谢!
ios ×6
ios5 ×2
iphone ×2
autosize ×1
custom-cell ×1
encryption ×1
itunes-store ×1
keychain ×1
line-spacing ×1
objective-c ×1
passwords ×1
rotation ×1
uilabel ×1
uitableview ×1
xcode4.3 ×1