摘要: // 实现原理及思路:不同种类的皮肤放在不同的文件夹下,用一个plist文件存放不同控制器下的控件的背景颜色//plist文件名称为控制器的名称,内部的数据字典的key value对自定义一个命名规则,容易读取即可//#import "MYScreenToll.h"@interface MYScre... 阅读全文
posted @ 2015-07-17 22:47 汤冉阳 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 1.进入https://www.jpush.cn/common/products,注册用户,下载ADK,查看使用说明2.简单的在AppDelegate中添加如下代码#import "AppDelegate.h"#import "APService.h"@interface AppDelegate (... 阅读全文
posted @ 2015-07-17 22:43 汤冉阳 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 推送需要真机调试#import "AppDelegate.h"@interface AppDelegate ()@end@implementation AppDelegate//注册完毕 远程推送通知之后就会调用-(void)application:(UIApplication *)applicat... 阅读全文
posted @ 2015-07-17 22:36 汤冉阳 阅读(207) 评论(0) 推荐(0) 编辑
摘要: #import "AppDelegate.h"@interface AppDelegate ()@end@implementation AppDelegate//无论程序在前后台运行,只要接收到通知,就会调用此方法-(void)application:(UIApplication *)applica... 阅读全文
posted @ 2015-07-17 22:27 汤冉阳 阅读(207) 评论(0) 推荐(0) 编辑
摘要: #import "ViewController.h"#import "RYColorSelectController.h"#import "RYMenuViewController.h"#import "RYTitleViewController.h"@interface ViewControlle... 阅读全文
posted @ 2015-07-17 22:16 汤冉阳 阅读(135) 评论(0) 推荐(0) 编辑
摘要: #import "ViewController.h"#import @interface ViewController ()@property(nonatomic,strong)CLLocationManager*manager;@property (weak, nonatomic) IBOutle... 阅读全文
posted @ 2015-07-17 22:04 汤冉阳 阅读(220) 评论(0) 推荐(0) 编辑
摘要: #import "ViewController.h"#import #import "MYAnnotation.h"@interface ViewController ()@property(nonatomic,strong)CLLocationManager *mag;@property(nona... 阅读全文
posted @ 2015-07-17 22:00 汤冉阳 阅读(366) 评论(0) 推荐(0) 编辑
摘要: #import "ViewController.h"#import @interface ViewController ()@property(nonatomic,strong)CLLocationManager*manager;;@property(nonatomic,strong)CLLocat... 阅读全文
posted @ 2015-07-17 21:59 汤冉阳 阅读(314) 评论(0) 推荐(0) 编辑
摘要: #import "ViewController.h"#import @interface ViewController ()@property(nonatomic,weak)UITextField*destination;@end@implementation ViewController- (vo... 阅读全文
posted @ 2015-07-17 21:58 汤冉阳 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 只要用于获取用户位置都要取得用户授权#import "ViewController.h"#import @interface ViewController ()@property(nonatomic,strong)UITextField*destination;@property(nonatomic... 阅读全文
posted @ 2015-07-17 21:56 汤冉阳 阅读(351) 评论(0) 推荐(0) 编辑