您的位置:首页 > 移动开发 > IOS开发

ios6去除高光效果,和判断iphone或ipad设备

2014-03-20 16:24 204 查看
判断iphone或者ipad

self.window = [[[UIWindowalloc] initWithFrame:[[UIScreenmainScreen] bounds]] autorelease];

if ([[UIDevicecurrentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone) {

self.viewController = [[[SendMsgToWeChatViewControlleralloc] initWithNibName:@"ViewController_iPhone"bundle:nil] autorelease];

} else {

self.viewController = [[[SendMsgToWeChatViewControlleralloc] initWithNibName:@"ViewController_iPad"bundle:nil] autorelease];

}

ios开发苹果图标icon去高光,xcode设置ios6,5

发布于:2013-03-21 | 作者:守护星 | 已聚集:1476人围观
来源: 网络转载
xcode发展到现在去高光的icon 就是那个玻璃效果 有多种方法了. 最常见的方法有2种
方法一:
选择supporing files 文件夹下面的.plist 文件 然后添加 Icon already includes gloss effects 后面选择一下
(这里要-YES-才会不显示高光!!!)



方法二:
在最新的几个xcode 的版本里面 icon 图标旁边有一个选项直接选择一下子就OK了
(这里要-勾选-才会不显示高光!!!)



温馨提示:

本站网站原创文章,版权归本站所有。转载请注明出处:懒人ios代码库-www.lanrenios.com
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: