Hi all,
I have a tableView which displays a list of songs, when i tap on any one it gets played.
-(void) PlaySelectedSong:(id) sender{
Song *aSong=[aCategory.Items objectAtIndex:appDelegate.selectedSong];
NSString *content1=[[NSString alloc] initWithFormat:@"http://192.168.50.108:8888/%@",[aSong.Link stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]]];
NSLog(content1);
NSURL *url=[NSURL URLWithString:content1];
NSURLRequest *requestObj = [NSURLRequest requestWithURL:url];
//Load the request in the UIWebView.
webView.delegate=self;
[webView loadRequest:requestObj];
}
This is how it get played. The problem is that while playing it is showing the URL of the song. i am planning to add a label above it. so that i can set the label text to the song name.
How do i add a label to do the same. Any one knows.? Need Help.
Thanks, Shibin