
iOS
hslinux
~~~~~
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
XCode 4.2支持iOS 5.1.1真机调试的实现
目前市面上的ios设备,操作系统都是5.1.1的版本了。但是偶的开发环境还是Snow Leopard 10.6.8 + XCode 4.2。新买的设备接上去,发现XCode 4.2无法在ios5.1.1的设备上面调试。根据以前把iPhoneOS4.3.sdk往XCode 4.2转移的经验,下载了一个XCode4.4.1的DMG文件,研究下,把相应的文件从DMG里面拷贝出来放到本地Dev原创 2012-08-28 14:51:07 · 3228 阅读 · 1 评论 -
ios 官方例子
http://developer.apple.com/library/ios/samplecode/Birthdays/Birthdays.zip http://developer.apple.com/library/ios/samplecode/ClockControlPalette/ClockControlPalette.zip http://developer.apple.com/l转载 2014-07-29 15:12:11 · 836 阅读 · 0 评论 -
中国天气网城市代码
中国天气网城市代码 101010100=北京101010200=海淀101010300=朝阳101010400=顺义101010500=怀柔101010600=通州101010700=昌平101010800=延庆101010900=丰台101011000=石景山101011100=大兴101011200=房山101011300=密云转载 2014-07-28 11:58:25 · 5574 阅读 · 0 评论 -
NSUserDefaults类registerDefaults的使用
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{ // Override point for customization after application launch. NSDictionary *dicDe原创 2014-07-07 16:07:14 · 3573 阅读 · 0 评论 -
ios小技巧汇总
备案用,免得用到的时候又四处fan原创 2014-07-07 16:25:43 · 805 阅读 · 0 评论 -
ios app 提交上架错误
1、this bundle is invalid . new apps and app updates submitted to the app store must be built with public把xcode更新到最新版本即可。原创 2014-05-23 16:03:35 · 847 阅读 · 0 评论 -
AppStore 上架中的分类
Book图书Business商业Catalogs商品指南Education教育Entertainment娱乐Finance财务Food & Drink美食佳饮Games游戏Health & Fitness健康健美Lifestyle生活Med原创 2014-02-13 12:10:55 · 3932 阅读 · 0 评论 -
把XCode带的SVN版本替换为系统中的SVN
把XCode带的SVN版本替换为系统中的SVN,删除操作之间最好先备份。$ sudo rm -rf /Applications/Xcode.app/Contents/Developer/usr/bin/svn* $ sudo ln -s /bin/svn* /Applications/Xcode.app/Contents/Developer/usr/bin/原创 2013-09-24 11:55:35 · 950 阅读 · 0 评论 -
资料汇总,保留下来以备需要的时候查阅
iOS:支持的蓝牙描述文件http://support.apple.com/kb/HT3647?viewlocale=zh_CN&locale=zh_CN原创 2013-06-07 17:21:55 · 915 阅读 · 0 评论 -
Semantic Issue PerformSelector may cause a leak because its selector is unknown
该警告不影响程序运行。看他不爽直接屏蔽了就可以:#pragma clang diagnostic push#pragma clang diagnostic ignored "-Warc-performSelector-leaks" [delegate performSelector:stateChangedSelector withObject:se原创 2013-07-29 22:53:47 · 993 阅读 · 0 评论 -
ffmepg 指定网络连接模式UDP还是TCP
AVFormatContext *formatCtx = NULL; formatCtx = avformat_alloc_context(); AVDictionary* options = NULL; av_dict_set(&options, "rtsp_transport", "tcp", 0); avformat_open_input(原创 2013-07-03 12:14:53 · 3462 阅读 · 2 评论 -
IOS 各种文件路径获取
1、获取应用程序中包含的资源文件绝对路径需求:项目中有些数据,使用的时候需要使用绝对路径去读取,所以需要获取文件的绝对路径NSBundle *bundle = [ NSBundle mainBundle ];NSString *filePath = [ bundle pathForResource:@"FileName" ofType:@"Extension" ];原创 2013-06-08 11:37:23 · 745 阅读 · 0 评论 -
iphone,ipad尺寸汇总
汇总下,免得下次忘记了还需要重新找度娘。 Ipad mini 1024X768 非retina屏 Ipad 1 Ipad 2 1024X768 非 retina屏 Ipad 3 ( the new Ipad) 分辨率 2048X1536 导航原创 2013-05-09 10:54:38 · 1093 阅读 · 0 评论 -
View旋转
#define DEGREES_RADIANS(angle) ((angle) / 180.0 * M_PI)XXX.view.transform = CGAffineTransformMakeRotation( DEGREES_RADIANS(90) );原创 2013-04-17 16:25:51 · 618 阅读 · 0 评论 -
frame 与 bounds 的区别与关系
frame和bounds是UIView中的两个属性(property)。frame指的是:该view在父窗口坐标系统中的位置和大小。(参照点是父窗口的坐标系统)bounds指的是:该view在自身坐标系统中 的位置和大小。(参照点是自身坐标系统)-(CGRect)frame{ return CGRectMake(self.frame.origin.x,self.frame.orig原创 2013-04-16 14:34:02 · 623 阅读 · 0 评论 -
BSD socket 非阻塞模式连接
BSD socket 非阻塞模式连接,适用用各种实现BSD socket的操作系统:windows, linux, unix, ios, android.int CNetTcpC::StartConnect(LPCSTR pszIPAddr, UINT nPort){ SOCKADDR_IN ctrl_sin; UINT sock = socket(AF原创 2013-04-22 17:50:57 · 1508 阅读 · 0 评论 -
开源提示框SVProgressHUD使用备忘录
https://github.com/samvermette/SVProgressHUD//// SVProgressHUD.h//// Created by Sam Vermette on 27.03.11.// Copyright 2011 Sam Vermette. All rights reserved.//// https://github.com/sam原创 2013-03-28 10:26:15 · 3279 阅读 · 0 评论 -
iPhone 6 与 iPhone 6 Plus 参数对比
iPhone 6iPhone 6 Plus系统iOS 8iOS 8屏幕4.7-inch Retina HD1334×750326 pixels-per-inch1400:1 对比度500 cd/m2 最大亮度更广阔视角的双域像素放大显示便捷访问功能5.5-inch Retina HD1920×1080401 pixels-per-in转载 2014-09-12 09:30:29 · 1311 阅读 · 0 评论