« first day (805 days earlier)      last day (451 days later) » 

9:47 AM
@NitinGohel I have added my custom image in uislider, but the image is inverted.Can you help me, why it is so.
[mySlider setMinimumTrackImage:[[UIImage imageNamed:@"slider_bg.png"] stretchableImageWithLeftCapWidth:0.3 topCapHeight:0.0] forState:UIControlStateNormal];
[mySlider setMaximumTrackImage:[[UIImage imageNamed:@"slider_bg.png"] stretchableImageWithLeftCapWidth:0.3 topCapHeight:0.0] forState:UIControlStateNormal];
[[UISlider appearance] setThumbImage:[UIImage imageNamed:@"slider.png"] forState:UIControlStateNormal];
 
1 message moved from IOS Developer Family
 
10:04 AM
@NitinGohel here is my code NSString *soundFilePath = [NSString stringWithFormat:@"%@/beep.mp3",
[[NSBundle mainBundle] resourcePath]];
NSURL *soundFileURL = [NSURL fileURLWithPath:soundFilePath];

AVAudioPlayer *player = [[AVAudioPlayer alloc] initWithContentsOfURL:soundFileURL
error:nil];
player.numberOfLoops = 1; //Infinite

[player play];
 
1 message moved from IOS Developer Family
 

« first day (805 days earlier)      last day (451 days later) »