开发者

making a "Now Playing" button iPhone sdk (functionality)

I am working on a radio application that has some mp3 radio stations, and I would like to make a now playing button in it but I am struggling with it.. I am to navigate to the view I want but when it is navigated from there the title and timer and every thing else is set to null. What can I do?

thanks, TC

 if (self.bookDetailViewController_1 == nil)
{
    iPhoneStreamingPlayerViewController *aBookDetail = [[iPhoneStreamingPlayerViewController alloc] initWithNibName:@"iPhoneStreamingPlayerView" bundle:nil];
    self.bookDetailViewController_1= aBookDetail;
    [aBookDetail release];
}

                [self.navigationController pushViewController:controller animated:YES];

    Music_appAppDelegate *delegate = [[UIApplication sharedApplication]delegate];
开发者_如何学运维    [delegate.booksNavController pushViewController:bookDetailViewController_1 animated:YES];
    self.bookDetailViewController_1.downloadSourceField.text = [NSString stringWithFormat:@"%@",songName];



    //bookDetailViewController_1.title = [NSString stringWithFormat:@"%@",songName];

        [controller release];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜