- 博客(344)
- 收藏
- 关注
转载 iOS开发系列--视图切换
概述在iOS开发中视图的切换是很频繁的,独立的视图应用在实际开发过程中并不常见,除非你的应用足够简单。在iOS开发中常用的视图切换有三种,今天我们将一一介绍:UITabBarControllerUINavigationController模态窗口UITabBarControlleriOS三种视图切换的原理各不相同:UITabBarControlle...
2016-01-26 16:46:00 300
转载 Command /usr/bin/codesign failed with exit code 1
刚刚碰到相同的问题,自己解决了,很简单,profile冲突,(自己遇到的现象是之前的profile关联的certificate过期,然后重新生成 了certificate和更新了profile。但是是同一个profile,导致设置的时候还是识别的之前的profile,和新的 certificate不匹配导致的)查看Xcode下当前用的profile名字,如图去到目录 ...
2015-09-22 09:52:00 281
转载 iOS中,在类的源文件(.m)中,@interface部分的作用?
此@interface部分为类扩展(extension)。其被设计出来就是为了解决两个问题的,其一,定义类私有方法的地方。其二,实现public readonly,private readwrite的property(意思是在h头文件中定义一个属性对外是readonly的,但在类的内部希望是可读写的,所以可以在m源文件中的@interface部分重新定义此属性为readwrite...
2015-08-31 13:08:00 293
转载 ELCImagePickerController 的集成
1, 将文件夹ELCImagePicker拷贝到工程中2,添加系统库AssetsLibrary.framework3, 添加系统库MobileCoreServices4,在头文件中加入引用#import "ELCImagePickerHeader.h"5,在头文件中加入delegate的引用ELCImagePickerControllerDelegate6,...
2015-04-14 10:55:00 212
转载 Update: ELCImagePickerController
March 3rd, 2011 Posted by: Matt Tuzzolo - posted under:Articles » Featured I recently spent some time with ELCImagePickerController. For those of you who’ve worked with UIImagePickerController,...
2015-04-14 10:22:00 134
转载 使用AssetsLibrary.Framework创建多图片选择控制器(翻译)
系统的UIImagePickerController只能让用户选择单图片,而一般情况下,我们需要上传多张图片,这时应该可以同时选择多张图片,否则用户体验会很差。因此多图片选择器就诞生了。 在类库中,苹果为我们提供了一个AssetsLibrary.Framework的库,可以通过它获取设备里的图片和视频。在使用这个类库时, 我们需要导入,且<AssetsLibrary/Asse...
2015-04-14 10:18:00 130
转载 How to select Multiple images from UIImagePickerController [duplicate]
accepted You have to use custom imagepicker. And I think ELCImagePickerController is the best option in my opinion.There is also some other library that can be used..Objecti...
2015-04-14 10:05:00 138
转载 fabric upgrade from old crashlystic stuck in build
提示build,一直没有反应。问题:工程中原有的shell命令屏蔽掉了转载于:https://www.cnblogs.com/lisa090818/p/4402676.html
2015-04-08 16:02:00 129
转载 How to load a local .CSS file & JavaScript resources using iPhone UIWebView Class
This post will cover the basic setup and creation of an application with web content for iPhone that will load local CSS files and some useful JavaScript functions. Most of these hints I found pa...
2015-04-01 16:34:00 188
转载 development tool
TextMate - 编辑工具转载于:https://www.cnblogs.com/lisa090818/p/4372211.html
2015-03-27 16:33:00 109
转载 ios auto layout demystified (二)
ConstraintsConstraint TypesLayout constraints (NSLayoutConstraint class, public)—这些规则指定了view的几何学。他们通过将一个view关联到其他的view限定一个view的位置和大小。Content size constrain...
2015-02-27 17:21:00 117
转载 ios auto layout demystified (一)
Ambiguous Layout在开发过程中,你可以通过调用hasAmbiguousLayout 来测试你的view约束是否足够的。这个会返回boolean值。如果有一个不同的frame就会返回yes,如果view的约束完全指定了就会返回no。这些结果是view指定的。例如,一个设定了完全约束的view他的子view有ambiguous layout但是此view却...
2015-02-27 15:24:00 146
转载 电子书下载地址
http://it-ebooks.info转载于:https://www.cnblogs.com/lisa090818/p/4290210.html
2015-02-13 14:31:00 209
转载 轻应用、Web app 、Native app三者区别关系是什么?
【龙友导读】最近百度公司在大会上宣布推出“轻应用”。轻应用到底是什么呢,和我们说的web app、native app到底有什么区别?是新生物的诞生还是概念的炒作?所以,今天特意为大家整理分享一篇这方面的文章!~希望对大家有用!(没用,龙哥自己看,哈!~)首先,先说说我们现在正在使用,大家都了解的Native App。一、什么是Native appNative App是...
2015-02-12 20:23:00 494
转载 ios录制测试
http://support.smartbear.com/viewarticle/64016/转载于:https://www.cnblogs.com/lisa090818/p/4288571.html
2015-02-12 17:23:00 114
转载 Understanding apps: mobile, native or responsive
BackgroundMaybe you have decided to get an app built. You will not build it yourself (obviously!) so you have done your homework properly, went out and got a few quotes (that’s more than 2, ple...
2015-02-12 13:55:00 225
转载 iOS开发工具——网络封包分析工具Charles
简介Charles是在Mac下常用的截取网络封包的工具,在做iOS开发时,我们为了调试与服务器端的网络通讯协议,常常需要截取网络封包来分析。Charles通过将自己设置成系统的网络访问代理服务器,使得所有的网络访问请求都通过它来完成,从而实现了网络封包的截取和分析。Charles是收费软件,可以免费试用30天。试用期过后,未付费的用户仍然可以继续使用,但是每次使用时间不能超过...
2015-02-11 13:47:00 157
转载 Registering iOS Devices for Testing - 注册测试设备
http://support.smartbear.com/viewarticle/63764/Applications developed using the iOS Developer Program (not the iOS Developer Enterprise Program) can be tested only on devices specified in the p...
2015-02-10 21:30:00 458
转载 (adhoc) process launch failed: timed out waiting for app to launch
I had a similar issue when trying to debug an App with Ad-Hoc provisioning... Check which provisioning you're using, it seems ad-hoc provisioning cannot be used for debugging.EDITIn fact, it s...
2015-02-10 13:55:00 107
转载 配置fabric-crashlytics教程
1. 注册账户 登录网站 https://try.crashlytics.com/ 来注册新的账户,审核通过时间为几个小时或者1到2天不等。然后注册时候输入的邮箱就会收到如下的邀请涵2. account confirmed之后就出现相应的设置页面,设置你的team的名称3. 出现页面提示下载客户端软件4. 如果是第一次登录客户端那么会首先列出所有的工程选项...
2015-02-10 10:53:00 186
转载 iOS开发工具——统计Crash的工具Crashlytics
简介Crashlytic成立于2011年,是专门为移动应用开者发提供的保存和分析应用崩溃信息的工具。Crashlytics的使用者包括:支付工具Paypal, 点评应用Yelp, 照片分享应用Path, 团购应用GroupOn等移动应用。2013年1月,Crashlytics被Twitter收购,成为又一个成功的创业产品。被收购之后,由于没有了创业公司的不稳定因素,我们更有理由...
2015-02-09 23:04:00 102
转载 Overview of iOS Crash Reporting Tools: Part 2/2
Thanks for joining me for the second part of this two-part series on crash reporting services!Thefirst partintroduced you to the architecture of crash reporting services, including storage, s...
2015-02-09 22:38:00 951
转载 Overview of iOS Crash Reporting Tools: Part 1/2
Believe it or not, developers are not perfect, and every once in a while you might have a (gasp!) bug in your app.You will try your best to ship your apps with no bugs in them, but more often t...
2015-02-09 22:37:00 554
转载 添加自签发的 SSL 证书为受信任的根证书
通过 SSL 加密的 HTTPS 连接访问网站时,需要安装并配置一个受信任的 CA根证书(Trusted CA Root Certificate)。平常访问一些加密网站之所以不需要自己安装证书,是因为系统或浏览器已经提前安装了一些受信任机构颁发的证书。但有些时候访问一些组织或个人自己签发证书的网站的时候,就会收到浏览器发出的警告。此时可以将该证书添加到“受信任的根证书颁发机构”存储区,...
2015-02-05 21:56:00 3358
转载 UIWebView to view self signed websites (No private api, not NSURLConnection) - is it possible?
What it actually does is to intercept the UIWebView to launch a NSURLConnection to allow the server to be authenticated, therefore then continue the connection using UIWebView, and cancels out th...
2015-02-05 21:52:00 84
转载 Has anybody found a way to load HTTPS pages with an invalid server certificate using UIWebView?
If a user attempts to load a https web page in Mobile Safari and the server's certificate validation check fails (its expired, revoked, self-signed etc.) then the user is presented is presented w...
2015-02-05 21:44:00 152
转载 AFNetworking 2.0 Tutorial
Update 1/18/2014: Fully updated for iOS 7 and AFNetworking 2.0 (original post byScott Sherwood, update byJoshua Greene).In iOS 7, Apple introduced NSURLSession as the new, preferred method of...
2015-02-02 16:48:00 220
转载 USING CHARLES FROM AN IPHONE
USING CHARLES FROM AN IPHONE从系统偏好->高级来查看ip地址即可To use Charles as your HTTP proxy on your iPhone you must manually configure the HTTP Proxy settings on your WiFi network in your iPhone's Set...
2015-02-02 16:12:00 100
转载 Charles 抓包的工具
下面是整个链接。http://www.winshy.com/2013/08/something_about_charlesproxy/?utm_source=rssCharles:移动端抓包工具安装使用和经验小结暂无评论从事移动互联网一年多的时间,等到去年才慢慢和开发打交道,由于创业公司人手不足,没有专门测试人员,很多时候产品人员QA质量验收的时候,就会面临黑盒测试测...
2015-02-02 15:26:00 122
转载 App Distribution Guide (二)
Configuring Your Xcode Project for DistributionYou can edit your project settings anytime, but some settings are necessary during development. Others are recommended when you distr...
2015-01-29 23:06:00 126
转载 App Distribution Guide (一)
This guide contains everything you need to know to distribute an app through the App Store or Mac App Store.这个guide包含了如何通过app stor或者mac app store来发布一个app。Get step-by-step guidance for e...
2015-01-29 18:02:00 315
转载 How to create an IPA (Xcode 5)
This tutorial will walk you through the easiest way to generate an IPA using Xcode 5. We will be using a sample project which will walk through creating the project to IPA generation.NOTE: This t...
2015-01-29 17:06:00 104
转载 xcode 6 exporting ipa 提示 Your account already has a valid iOS distribution certificate
在Product - Archive 包过程中,选择Save for Ad hoc Deployment模式【给内部人员测试】,export包时,弹出了如下提示自己遇到时候问题:首先adhoc需要本机上有公司开发的私钥,然后scheme编辑时候的archive选项要是release或者final(xcode6)然后工程的build setting中设置release为你ad...
2015-01-29 17:05:00 78
转载 Using xcodebuild To Export a .ipa From an Archive
Xcode 6 changes how you export a .ipa from an archive for adhoc distribution. It used to be that you could export the archive to a .ipa as long as you had the right provisioning profile and distr...
2015-01-29 16:59:00 118
转载 The beta-reports-active Entitlement
Q: How do I resolve the "beta-reports-active" code signing error?A:There are a number of points of consider regarding this error and a couple solutions are discussed below.No ma...
2015-01-29 16:52:00 180
转载 xcode 6 exporting ipa 提示 Your account already has a valid iOS distribution certificate 的另一种解决方法...
背景:1. XCode 6.12. 证书:develop 证书3. Scheme 为Device操作:在Product - Archive 包过程中,选择Save for Ad hoc Deployment模式【给内部人员测试】,export包时,弹出了如下提示后来在http://www.thecave.com/2014/09/16/using-xcodebu...
2015-01-29 16:01:00 88
转载 Persisting iOS Application Data in SQLite Database Using FMDB
In previous articles we have utilized NSUserDefaults and .NET web services to persist iPhone data. NSUserDefaults is idol for storing small amounts of data. Web services are used to store the dat...
2015-01-29 15:25:00 117
转载 在iOS开发中使用FMDB
前言SQLite (http://www.sqlite.org/docs.html) 是一个轻量级的关系数据库。iOS SDK很早就支持了SQLite,在使用时,只需要加入 libsqlite3.dylib 依赖以及引入 sqlite3.h 头文件即可。但是,原生的SQLite API在使用上相当不友好,在使用时,非常不便。于是,开源社区中就出现了一系列将SQLite API进行封装...
2015-01-29 14:52:00 57
转载 Introduction to the TestFlight SDK
https://developer.apple.com/testflight/When you want to test an app on your device, usually you plug the device into your Mac and run the Xcode project. But what if you want to install the app ...
2015-01-29 13:29:00 710
转载 iOS8使用TestFlight进行内部测试功能尝鲜
iOS8发布了有一段时间了,我们的策划很新潮的速度给升级到iOS8了。于是XCode5不支持了,只好从MacOS 10.8升级到10.9,再升级到10.9.5,再下载XCode6安装……然后前两天上传一个版本给苹果审核,发现iTunes Connect里多了一个Prerelease选项卡,里面有一个Internal Testers,于是上网搜索了下,看到了一篇介绍文章:http://...
2015-01-29 13:28:00 151
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人