我用這個去URL從視圖:更改超鏈接按鈕後,按
-(IBAction)linkButtonPressed:(id)sender {
[[UIApplication sharedApplication]openURL:[NSURL URLWithString:@"url"]];
}
我已經添加啓動圖像到項目命名爲Default.png和[email protected] 。
現在,如果超鏈接是從進入視圖(切換到SAFARI),並且該應用程序後重新從backgroundm運行輸入的,則關閉這樣的:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
[tableView deselectRowAtIndexPath:indexPath animated:TRUE];
//The other cells here
else if(indexPath.row==4)
{
exit(0);
}
}
現在推出圖像chancged到視圖的鏈接按鈕被按下的屏幕截圖。如果我強制從iPhone的主屏幕關閉應用程序(鏈接輸入後),啓動圖像爲黑色。
如果我再進入從tableview中另一種觀點認爲,退出的超級鏈接,啓動圖像從該視圖等變更爲新截圖..
是什麼造成這個問題以及如何解決它?
Ps。在版本5.1.1的iPhone設備上運行應用程序 使用XCode 4
我很感興趣,你如何實現了「動態更改啓動圖像」 ......我想實現類似,但根據用戶在應用程式語言設置的東西。 – micadelli 2012-10-19 13:14:15