摘要: UIActionSheet在iOS7.0中效果图如下: UIActionSheet在iOS8中效果图如下: 造成这样的原因,是因为此控件在iOS8中被弃用了,而使用了UIAlertViewController替代的原因... 阅读全文
posted @ 2014-11-24 16:56 DreamStartGirl 阅读(336) 评论(0) 推荐(0) 编辑
摘要: NSMutableAttributedString *showStr = [[NSMutableAttributedString alloc] initWithString:@"微信搜索V积分就能找到我们"]; [showStr addAttribute:NSForegroundColorAttr... 阅读全文
posted @ 2014-11-24 11:07 DreamStartGirl 阅读(227) 评论(0) 推荐(0) 编辑
摘要: Push的原理:Push 的工作机制可以简单的概括为下图:Provider是指某个iPhone软件的Push服务器,这篇文章我将使用.net作为Provider。APNS 是Apple Push Notification Service(Apple Push服务器)的缩写,是苹果的服务器。上图可以分... 阅读全文
posted @ 2014-11-21 16:50 DreamStartGirl 阅读(2416) 评论(1) 推荐(0) 编辑
摘要: 在iOS 7还没有发布的时候,各种App实现各种的swipe to pop效果,比如。在iOS 7上,只要是符合系统的导航结构:[即根视图由导航控制器控制]// Created by wangyuanyuan on 14-9-15.// Copyright (c) 2014年 ___FULLUS... 阅读全文
posted @ 2014-09-16 13:51 DreamStartGirl 阅读(343) 评论(0) 推荐(0) 编辑
摘要: 由于欧美斯项目需要签到功能,因此需要给后台传一个当前位置的经纬度,以下是获取经纬度的方法1>导入CoreLocation.frameWork2>引入头文件,并遵循协议#import 3>代码@interface YYAboutUsViewController (){ UIWebView *_w... 阅读全文
posted @ 2014-07-31 10:57 DreamStartGirl 阅读(382) 评论(0) 推荐(0) 编辑
摘要: 原:http://blog.csdn.net/alincexiaohao/article/details/24473269An instance 0xca90200 of class UITableView was deallocated while key value observers were... 阅读全文
posted @ 2014-07-30 14:42 DreamStartGirl 阅读(322) 评论(0) 推荐(0) 编辑
摘要: 遇到这样的错误,由于google打不开,百度这样子给出的解决方案:1.刪除DerivedData資料夾法1.1 完全离开Xcode,然后再做下列步驟:1.2把/Users/apple/Library/Developer/Xcode/DerivedData/下面的東西全部刪除(DerivedData本... 阅读全文
posted @ 2014-07-24 10:45 DreamStartGirl 阅读(355) 评论(0) 推荐(0) 编辑
摘要: 今天一个门户型的项目跑真机出现如下错误解决方法如下:选择工程->Build Settings -> Code Signing -> Code Signing Identity -> Debug -> Any ios SDK 将选项改为:iPhone Developer 阅读全文
posted @ 2014-07-24 10:20 DreamStartGirl 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 从网上下载一个极光推送的demo,运行的时候出现这样的错误原因是这个项目工程没有标志在Bundle identifier后面填上你的标识就行了,记得运行前Command+shift+k清空一下 阅读全文
posted @ 2014-07-24 10:12 DreamStartGirl 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 1 2014-06-11 15:19:17.167 ***[930:707] *** Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN... 阅读全文
posted @ 2014-07-17 18:21 DreamStartGirl 阅读(2513) 评论(0) 推荐(0) 编辑