自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(41)
  • 收藏
  • 关注

原创 ionic 打包错误

Jack is required to support java 8 language features. Either enable Jack or remove sourceCompatibility JavaVersion.VERSION_1_8.添加jackOptions {enabled true}

2019-07-05 09:40:08 189

原创 ionic3 按照NFC后打包错误

安装NFCionic cordova plugin add phonegap-nfcnpm install @ionic-native/nfc打包apkionic cordova build android报错:引入插件的出错代码:解决:由于本地安装jdk版本是1.8,本不该出现此错误提示,后来考虑可能是编译时使用了其他的jdk版本打开项目platforms\android\...

2019-07-05 09:39:48 175

原创 ionic3打包错误

打包时出现此错误:No resource found that matches the given name (at ‘networkSecurityConfig’ with value ‘@xml/network_security_config’).Error: No resource found that matches the given name (at ‘networkSecurit...

2019-07-05 09:39:25 213

转载 ionic 插件安装

ionic 插件安装安装本地已有插件cordova plugin add Your_Plugin_Path --variable APP_KEY=your_jpush_appkey或直接通过 url 安装:cordova plugin add https://github.com/jpush/jpush-phonegap-plugin.git --variable APP_KEY=your...

2018-12-06 11:24:23 748

原创 ios打包上架错误1、Unable to process application at this time due to the following error: Missing Provisioni

由于以下错误,此时无法处理应用程序:缺少供应配置文件 - 应用程序必须在名为embedded.mobileprovision的文件中包含供应配置文件。 解决方法:https://blog.csdn.net/ducp123/article/details/83109111...

2018-12-06 10:52:24 1734

原创 iOS多线程编程技术之NSThread、NSOperation、GCD

iOS有三种多线程编程的技术,分别为: (一)NSThread (二)NSOperation (三)GCD 这三种编程方式从上到下,抽象度层次是从低到高的,抽象度越高的使用越简单,也是Apple最推荐使用的。三种方式的优缺点介绍: 1)NSThread 优点:NSThread比其他两个轻量级 缺点:需要自己管理线程的生命周期,线程同步。线程同步对数据的加锁会有一定的系统开销2)NSOp

2015-12-16 16:59:41 309

原创 重要网站

简历: http://office.msn.com.cn/List.shtml?cat=WORD&tag=13

2015-12-12 09:43:55 218

转载 创建推送证书

转载:http://jingyan.baidu.com/album/7082dc1c6bb86de40a89bd1a.html?picindex=13 1. 首先你想创建推送证书和以前你做真机测试证书一样,需要实现准备一个99$的付费账号.然后登陆苹果开发者网站.

2015-12-09 10:23:03 222

原创 数据处理

NSString *path = [[NSBundle mainBundle] pathForResource@"activitylist" ofType:@"txt"];NSData *data = [NSData dataWithContentsOfFile:path];// 解析成字典NSMutableDictionary *dic = [NSJSONSerialization JSON

2015-12-09 09:13:25 270

原创 友盟分享

有用的网址:http://kyfxbl.iteye.com/blog/2204012

2015-11-27 09:42:19 334

原创 Library Search Paths

展开如下: 解决方法: 如上图删除导致错误的路径有用的博客:http://blog.sina.com.cn/s/blog_6f72ff900101es6x.html

2015-11-21 15:38:28 509

原创 项目加载不了数据

App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app’s Info.plist file. 应用程序安全运输了明文HTTP(HTTP:/ /)资源负载是不

2015-11-21 10:38:20 271

原创 远程推送and代码托管

代码托管:http://git.oschina.net/ add 提交 推送 工作区file -> 本地版本库 (暂存区 - > 分支) -> 远程版本库 <-

2015-11-20 22:17:44 388

原创 长见错误

解决方法: 对于可执行provisioning profile 没有被找到。所以网上有很多答案是说你provisioning profile没有被找到,需要重新导入之类的。但是我碰到的原因是我在Project中将Code Signing Identity中将其设置成了iPhone Develop,但是在Target中的Code Signing Identity并没有自动切换过来,我发现在Target

2015-11-20 21:32:24 238

原创 杂项

APPID - >BundleId 证书->CSR 设备->UDID描述文件 APPID - >BundleID * 通配符 证书 -> CSR 设备 -> UDID上传的描述文件 APPID - > * 证书 - > CSR创建推送证书 APPID , CSR文件信鸽 X-code7用Xg-Push_SDK-iOS-2.4.5 X-code6用Xg-Push-S

2015-11-19 19:29:59 244

原创 06_UIScrollView

#import "RootViewController.h"#define HEIGHT self.view.frame.size.height#define WIDTH self.view.frame.size.width@interface RootViewController ()<UIScrollViewDelegate>@end@implementation RootViewCon

2015-11-19 08:49:39 222

原创 06_无限滚动的相册

#import "RootViewController.h"#define HEIGHT self.view.frame.size.height#define WIDTH self.view.frame.size.width@interface RootViewController ()<UIScrollViewDelegate>@property(nonatomic, retain)UIS

2015-11-18 21:17:20 243

原创 滤镜

#import "ViewController.h"#define ScreenWidth [self.view bounds].size.width#define ScreenHeight [self.view bounds].size.height@interface ViewController () <UIPickerViewDataSource, UIPickerViewDelegate

2015-11-18 20:55:13 241

原创 零碎知识点

Git / SVN 代码管理工具 SVN集中式 Git分布式 git网址 http://git.oschina.net/显示:defaults write com.apple.finder AppleShowAllFiles -bool true 隐藏:defaults write com.apple.finder AppleShowAllFiles -bool falseSimulato

2015-11-18 19:55:30 229

原创 iPadNewProperty (2015-11-18 星期三)

#import "AppDelegate.h"#import "ViewController.h"- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // Override point for customization

2015-11-18 19:47:56 258

原创 Git

Git / SVN 代码管理工具 SVN集中式 Git分布式 http://git.oschina.net/显示:defaults write com.apple.finder AppleShowAllFiles -bool true 隐藏:defaults write com.apple.finder AppleShowAllFiles -bool false1.add 2.提交 3.

2015-11-18 15:45:05 208

原创 AddressBook

在Build Phases的Link Binary With Libraries中加两个框架ContactsUI.framework 和 Contacts.framework#import "ViewController.h"#import <ContactsUI/CNContactViewController.h>#import <ContactsUI/CNContactPickerViewC

2015-11-17 20:47:20 807

原创 地图

#import "ViewController.h"//导入头文件#import <MapKit/MapKit.h>#import <CoreLocation/CoreLocation.h>@interface ViewController () <CLLocationManagerDelegate,MKMapViewDelegate>@property (nonatomic, strong)

2015-11-17 20:08:34 271

原创 地图定位导航

#import "ViewController.h"#import <CoreLocation/CoreLocation.h>#import <MapKit/MapKit.h>@interface ViewController ()<CLLocationManagerDelegate, MKMapViewDelegate>@property(nonatomic, strong)CLLocati

2015-11-17 19:57:48 354

原创 Masonry

#import "ViewController.h"#import <Masonry.h>@interface ViewController ()@end@implementation ViewController- (void)viewDidLoad { [super viewDidLoad]; #if 0 // 创建一个view UIView *view =

2015-11-17 19:31:59 219

原创 手势

#import "RootViewController.h"@interface RootViewController ()@property(nonatomic, retain)UIImageView *imageView;@end@implementation RootViewController- (void)dealloc{ [_imageView release];

2015-11-14 19:38:24 240

原创 delegate

#import <UIKit/UIKit.h>// 1.声明协议@protocol MyButtonDelegate <NSObject>- (void)changeColor;@end@interface MyButton:UIView// 2.声明代理人的属性@property(nonatomic, assign)id<MyButtonDelegate>delegate;@end#im

2015-11-14 16:16:17 204

原创 Target-Action

#import <UIKit/UIKit.h>@interface MyButton : UIView// 1.写一个自定义的方法- (void)addNewTarget:(id)target action:(SEL)action;// SEl 方法选择器// 2.写两条属性,分别保存传过来的执行方法和委托人@property(nonatomic, assign) id target;

2015-11-14 15:08:24 223

原创 LTView

签订UIAlertViewDelegate协议UIAlertView *alert = [[UIAlertView alloc] initWithTitle@"你好" message:@"不好" delegate:nil cancelButtonTItle:@"你猜" otherButtonTitles:@"不知道", nil];// 在提示框上出现输入框,可以设置输入框的样式alert.al

2015-11-14 14:44:24 194

原创 视图控制器

SecondViewController *secVC = [[SecondViewController alloc] init];// 设置模态跳转的动画效果[secVC setModelTransitionStyle:UIModalTransitionStylePartialCurl];[self presentViewController:secVC animated:YES compl

2015-11-14 14:36:40 247

原创 搜索 和 关键字高亮

@interface SHSeachViewController ()<UISearchBarDelegate, UITableViewDataSource, UITableViewDelegate>@property(nonatomic, retain)NSMutableArray *listArr;@property(nonatomic, retain)UISearchBar *search

2015-11-14 11:20:18 274

原创 加速计_陀螺仪_磁力计

在Build Phases 下的Link Binary With Libraries (1 item)中加入 CoreMotion.framework文件包#import "ViewController.h"#import <CoreMotion/CoreMotion.h>@interface ViewController ()@property(nonatomic, strong)UILab

2015-11-14 09:57:28 629

原创 判断网络状态

// 判断网络状态[self createNetWork];- (void) createNetWork {AFNetworkReachabilityManager *manager = [AFNetworkReachabilityManager sharedManager];[manager startMonitoring];[manager setReachabilityStatusCh

2015-11-13 20:40:44 228

原创 苹果尺寸

4.7英寸 iPhone6 5.5英寸 6Plus 4英寸 iPhone5 3.5英寸 iPhone4S

2015-11-13 16:37:54 422

原创 文章标题

1.Masony 2.系统地图 3.通讯录 4.sizeclass/autolayout 5.加速计/磁力计 6.程序间通讯 7.iPad popoverController splitViewController国际化近距离感应iOS9新特性m3u8滤镜AFHTTPSessionManager

2015-11-13 11:54:54 183

原创 描述文件

1.APPID -> BundleID 2.证书 ->CSR 3.设备 ->UDID

2015-11-13 08:53:21 382

原创 A段项目要求

1.登陆 2.意见反馈(邮件) 3.友盟统计 4.短信验证(注册) 5.版本检测 6.高德(百度)地图(画线) 7.本地推送(定时暂停) 8.二维码() 9.本地相册(照相机)(头像) 10.网络状态判断 11.语音识别(科大讯飞)

2015-11-11 10:15:21 255

原创 Cocoapods

关于Cocoapods的步骤描述(http://img.blog.csdn.net/20151022084734599)重点内容 cd 拖入文件(创建路径)->pod search afn->vim podfile->按i键进入编辑模式->ESC->:wq->pod update –no-repo-update重要的学习Cocoapods网址http://blog.devtang.com/blog

2015-10-22 08:55:19 222

原创 UITextField

import “AppDelegate.h”@interface AppDelegate () @property(nonatomic, retain)UITextField *secondText; @property(nonatomic, retain)UITextField *field; @end@implementation AppDelegate- (BOOL)applicatio

2015-10-20 21:00:59 242

原创 UI2_UILabel

import “AppDelegate.h”@interface AppDelegate ()@end@implementation AppDelegate- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {self.window

2015-10-20 20:30:49 296

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除