请问:iPhone中如何能修改待机背景或来电画面?
很想知道这个界面是如何实现的,另外,唱吧好象也有类似功能,在播放音乐时可以显示在待机界面。
多谢。 --------------------编程问答--------------------
那个来电秀被我看出来了,就是把这张图弄成此人的头像即可,FT,乱改我的通讯录!
但是这个唱吧的播放界面暂时还不太清楚,,,, --------------------编程问答-------------------- http://stackoverflow.com/questions/6600592/change-lock-screen-background-audio-controls-text
iOS 5 now supports setting the track title as well as an album art image in both the lock screen and the remote playback controls (the controls you get when you double-click the home button and swipe right). Take a look at the MPNowPlayingInfoCenter class. Of course, to maximize compatibility, you'd want to test whether MPNowPlayingInfoCenter is available, by doing something like:
if ([MPNowPlayingInfoCenter class]) {
/* we're on iOS 5, so set up the now playing center */
UIImage *albumArtImage = [UIImage imageNamed:@"HitchHikersGuide"];
albumArt = [[MPMediaItemArtwork alloc] initWithImage:albumArtImage];
NSDictionary *currentlyPlayingTrackInfo = [NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:@"Life, the Universe and Everything", [NSNumber numberWithInt:42], albumArt, nil] forKeys:[NSArray arrayWithObjects:MPMediaItemPropertyTitle, MPMediaItemPropertyPlaybackDuration, MPMediaItemPropertyArtwork, nil]];
[MPNowPlayingInfoCenter defaultCenter].nowPlayingInfo = currentlyPlayingTrackInfo;
} --------------------编程问答-------------------- 如果上面代码可行,这100分就散给大家了,回帖有分,,,,,
--------------------编程问答-------------------- --------------------编程问答--------------------
代码可行吗? --------------------编程问答-------------------- 测试结果如何 --------------------编程问答--------------------
补充:移动开发 , iPhone