我新的iOS開發,我寫我的第一個iOS應用程序,但我有一個顯示圖標的問題。 我在我的應用程序中使用的圖標看起來不像其他應用程序或Apple默認圖標中的圖標那樣明亮而漂亮。圖標爲我的iOS應用程序看起來模糊的設備
在上面的圖片,信息圖標看起來很大(它已經在IOS信息的圖標),但我的星形圖標是可怕的.. 我已經嘗試了很多圖標,所有的這些都是一樣的。 ..
編輯:它看起來像巨大的PC上,但不是在我的iPad或iPhone ..
這是我如何使用圖標在我的應用程序,圖標位於支持文件夾...
UIImage* image3 = [UIImage imageNamed:@"Star.png"];
CGRect frameimg = CGRectMake(0, 0, image3.size.width, image3.size.height);
UIButton *someButton = [[UIButton alloc] initWithFrame:frameimg];
[someButton setBackgroundImage:image3 forState:UIControlStateNormal];
[someButton addTarget:self action:@selector(sendmail)
forControlEvents:UIControlEventTouchUpInside];
[someButton setShowsTouchWhenHighlighted:YES];
您使用的視網膜圖像的一個圖像爲那些圖標? – rckoenes 2013-03-27 12:39:00
是的,我下載了幾個視網膜圖標集,並試圖..沒有區別.. – cmltkt 2013-03-27 12:41:26
你如何加載圖像,什麼是圖像的名字,什麼大小的圖片嗎?你需要提供更多的信息。 – rckoenes 2013-03-27 12:42:32