问题:Appdelegate中- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { ViewController *VC=[[V.....
分类:
移动开发 时间:
2015-03-20 10:39:45
阅读次数:
161
//// AppDelegate.m// LessonaPackage//// Created by lanouhn on 15/3/19.// Copyright (c) 2015年 lanouhn. All rights reserved.//#import "AppDelegate.h"#im...
分类:
其他好文 时间:
2015-03-19 21:38:38
阅读次数:
125
cocoapods 管理 引入pod 'PayPal-iOS-SDK'1.在appdelegate#import//#define PAYPAL_SANDBOX @"AcQxuBDdBh3jNaYTnB79coxVr3wihIQVkJzI1stUX4V2yJByccNTgKNu1zeO"#defin...
分类:
其他好文 时间:
2015-03-19 10:08:50
阅读次数:
278
//// AppDelegate.m// LessonUIViewSubClass//// Created by lanouhn on 15/3/18.// Copyright (c) 2015年 lanouhn. All rights reserved.//#import "AppDelegate...
分类:
其他好文 时间:
2015-03-19 10:04:03
阅读次数:
105
//// AppDelegate.m// LessonUIView//// Created by lanouhn on 15/3/16.// Copyright (c) 2015年 lanouhn. All rights reserved.//#import "AppDelegate.h"@inte...
分类:
其他好文 时间:
2015-03-18 10:14:53
阅读次数:
104
下面我们仔细学习具体的细节。创建一个空的IOS项目,接着在创建一个ViewController。AppDelegate.h 应用的代理类 这个没什么好说的就是直接打开刚刚创建的新ViewController。123456789#import #import "TestViewController.h...
分类:
移动开发 时间:
2015-03-17 21:42:21
阅读次数:
241
程序启动原理掌握Info.plist和pch文件的作用UIApplication的常见使用AppDelegate的代理方法UIApplication、AppDelegate、UIWindow、UIViewController的关系iOS程序的完整启动过程Info.plist常见的设置建立一个工程后,...
分类:
其他好文 时间:
2015-03-17 14:01:45
阅读次数:
129
AppDelegate.m中添加- (void)applicationDidReceiveMemoryWarning:(UIApplication *)application{ // 赶紧清除所有的内存缓存 [[SDImageCache sharedImageCache] clearMe...
分类:
Web程序 时间:
2015-03-12 19:11:04
阅读次数:
176
1. 向 target中info 添加 NSLocationWhenInUseUsageDescription,string 类型,值是描述为什么需要用户位置,这句话会出现在 提示用户是否允许app访问用户位置提示框中。
2. 在appdelegate.m 的 - (BOOL)application:(UIApplication
*)application didFinishLaunchi...
分类:
移动开发 时间:
2015-03-12 17:20:29
阅读次数:
396
目录结构AppDelegateModelsMacroGeneralHelpersVendorsSectionsResources一个合理的目录结构首先应该是清晰的,让人一眼看上去就能大概了解目录的职责,且容易应对新的变化。AppDelegate这个目录下放的是AppDelegate.h(.m)文件,...
分类:
移动开发 时间:
2015-03-12 14:34:49
阅读次数:
182