我正在进行考试的应用程序,所以当考试开始时,时间应该从那开始.例如30分钟它应该像29:59一样减少.
我该如何实现呢?
任何人都可以给我一个示例或一步一步的简单教程,我可以遵循?
我想在iOS 6中创建Facebook iPhone应用程序中的侧栏菜单.
我该如何创建它?
我是这个iPhone开发的新手.
请给我一些指示或告诉我一些基本的教程,我可以一步一步地实现它.
是否有任何教程和API可用于与我的iOS应用程序集成语音识别?
我想知道是否有一种方法来解码URL中的字符串
编码格式?
这是我的URL我想解码它,但我不明白如何做到这一点我试过多次
方法
http://www.demii.com/demo/dooponz/admin/index.php/chat/new_message/4/1/you/2%2C7
但没有得到正确的回应
请有人帮我解决这个问题,
我怎么能解码这个网址我不需要%符号.
谢谢
我正在尝试远程玩 .mp3 file
但它给出了以下错误.
The operation couldn’t be completed. (OSStatus error -43.)
Run Code Online (Sandbox Code Playgroud)
这是我的代码:
- (void)viewDidLoad
{
[super viewDidLoad];
isPlaying = NO;
/*
NSURL *url = [NSURL fileURLWithPath:[[NSBundle mainBundle]
pathForResource:@"Dar-e-Nabi-Per" ofType:@"mp3"]];
*/
NSURL *url = [NSURL
URLWithString:@"http://megdadhashem.wapego.ru/files/56727/tubidy_mp3_e2afc5.mp3"];
NSError *error;
audioPlayer = [[AVAudioPlayer alloc]
initWithContentsOfURL:url
error:&error];
if (error)
{
NSLog(@"Error in audioPlayer: %@",
[error localizedDescription]);
}
else
{
audioPlayer.delegate = self;
[audioPlayer prepareToPlay];
}
}
Run Code Online (Sandbox Code Playgroud)
任何人都可以指导我在哪里做错了
我试图在特定索引上将NSMutableDictionary添加到NSMutableArray中
NSMutableArray已填充数据来自webservice,但我想要
在0索引上添加我的数组中的另一个字典.
但我有点困在这里:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: ' -[JKArray insertObject:atIndex:]: mutating method sent to immutable object'
Run Code Online (Sandbox Code Playgroud)
我的代码是:
在.h文件中
@property (strong, nonatomic)NSMutableArray *cityArray;
@property (strong, nonatomic)NSMutableDictionary *cityDict;
.m file:
- (void)viewDidLoad
{
[super viewDidLoad];
self.cityArray = [[NSMutableArray alloc]init];
self.cityDict = [[NSMutableDictionary alloc]initWithObjectsAndKeys:@"All Cities",@"key1", nil];
NSLog(@"City Dict=> %@", cityDict);
}
-(void)ConnectionDidFinishLoading:(NSString *)responseString :(NSString *)serviceName{
self.dealsDict = [responseString objectFromJSONString];
self.cityArray = [self.dealsDict objectForKey:@"Cities"];
[self.cityArray addObject:[self.cityDict copy]];
[self.cityArray addObject:self.cityDict];
[self.cityArray objectAtIndex:0];
[self.tableView reloadData];
}
Run Code Online (Sandbox Code Playgroud)
请帮忙
谢谢.
在我的应用程序中,我使用一些网络连接获取数据
我想在iPhone中的通知栏(状态栏)中显示该数据
所以当我向下拖动时,如何添加我在iPhone状态栏中可以看到的数据
我搜索了许多教程,但我没有找到任何好的,请帮助我
请告诉我一些想法,我可以在通知或任何好的教程中管理我的数据
请建议任何好的教程,以便我可以在通知栏中管理我的动态数据
谢谢
我不知道如何垂直翻转我的视角,我有很多观点和我的观点
有一些照片和他们的描述,我想像一本书的翻转视图,但不是
从左到右,它必须是从上到下或从下到上,
我想垂直翻转整个页面,如从上到下或从下到上,
如何在ios中做这种工作?
即时通讯谷歌搜索,但这不起作用,我是开发新的
所以请任何人都可以正确地指导我如何翻转我的意见请帮助我
出
提前致谢.