摘要:
//UIApplicationDelegate以下的方法都是实现了前面这个协议的- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{ // Override point for customization after application launch. //完成应用初始化后需要执行的函数 NSLog(@"应用初始化完成"); return YES;} ... 阅读全文
posted @ 2014-03-30 09:54
离子
阅读(267)
评论(0)
推荐(0)
摘要:
NSString * str= NSHomeDirectory();//取得当前应用在硬盘上得位置/一直到了hash码,ios中hash码代表一个应用NSLog(@"%@",str);str= [[NSBundle mainBundle]bundlePath];//一直到了hash码下面的.app文件//这个就是编译好的2进制程序NSLog(@"%@",str);str= [[NSBundle mainBundle]pathForResource:@"1" ofType:@".png"];//返回的就是沙盒中的资源 阅读全文
posted @ 2014-03-30 09:20
离子
阅读(286)
评论(1)
推荐(0)

浙公网安备 33010602011771号