推送需要真机调试#import "AppDelegate.h"@interface AppDelegate ()@end@implementation AppDelegate//注册完毕 远程推送通知之后就会调用-(void)application:(UIApplication *)applicat...
分类:
其他好文 时间:
2015-07-18 00:14:13
阅读次数:
119
#import "ViewController.h"#import @interface ViewController ()@property(nonatomic,weak)UITextField*destination;@end@implementation ViewController- (vo...
分类:
移动开发 时间:
2015-07-17 22:30:18
阅读次数:
149
#import "ViewController.h"#import @interface ViewController ()@property(nonatomic,strong)CLLocationManager *manager;@end@implementation ViewController...
分类:
移动开发 时间:
2015-07-17 22:21:34
阅读次数:
163
#import "ViewController.h"#import @interface ViewController ()@end@implementation ViewController- (void)viewDidLoad { [super viewDidLoad]; //地理编码 [...
分类:
其他好文 时间:
2015-07-17 22:18:51
阅读次数:
181
网上扒的通过添加一个ITelephony.aidl 来反射可是并没有成功。提示无法引入这个文件。这里解释了一下原理;使用java 反射来获取安卓内部的私有方法TelephonyManager 类是由远程服务来实现的,它实质是package org.nd.ui;import android.app.F...
分类:
其他好文 时间:
2015-07-17 20:48:29
阅读次数:
122
方法一:不断填坑,一次确定一个值。http://blog.csdn.net/morewindows/article/details/6684558#includevoid qsort(int *array, int len){ int value, start, end; if (len...
分类:
编程语言 时间:
2015-07-17 20:21:12
阅读次数:
140
新建类 注意继承关系#import @interface CustomPopIt : UIStoryboardSegue@end#import "CustomPopIt.h"@implementation CustomPopIt#pragma mark - 实现 pop 方法
- (void)perform
{
UIViewController *vc = se...
分类:
其他好文 时间:
2015-07-17 18:48:34
阅读次数:
93
1> dbg:tracer().{ok,}2> dbg:p(all, c).{ok,[{matched,nonode@nohost,26}]}3> dbg:tpl(test, g, dbg:fun2ms(fun(_) -> exception_trace() end)).{ok,[{matched,...
分类:
数据库 时间:
2015-07-17 18:24:14
阅读次数:
303
1.uses ActiveX;2.procedure HLCJ.Execute;begin CoInitialize(nil); //要使用的控件 CoUninitialize;end;
分类:
编程语言 时间:
2015-07-17 18:12:30
阅读次数:
103
1.注意条件设置for i:=1 to 10 dobegin if i>5 then begin break; end;end;break 全部continue 本次
分类:
其他好文 时间:
2015-07-17 13:44:37
阅读次数:
80