![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
iOS
文章平均质量分 66
object啊
作者很懒,什么都没写
展开
-
ios导航栏字体颜色及背景色设置rgb
//设置导航栏字体大小颜色 [self.navigationController.navigationBar setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:[UIColor colorWithRed:44.0f/255.0f green:141.0f/255.0f blue:228.0f/255.0f原创 2017-02-28 10:24:25 · 800 阅读 · 0 评论 -
最新极光推送在ios模拟器上无法运行
保证文档上的Framework全部添加debug下设为YES原创 2017-05-02 14:04:18 · 2403 阅读 · 0 评论 -
ios自定义键盘
支持英文大小写切换,数字键盘以及部分符号输入(键盘内容支持自定义)首先导入键盘类文件#import "PMCustomKeyboard.h" PMCustomKeyboard *customKeyboard1 = [[PMCustomKeyboard alloc] init]; [customKeyboard1 setTextView:self.userCodeVi原创 2017-05-19 15:47:16 · 351 阅读 · 0 评论 -
ios一些大神的博客地址
学习过程中遇到的一些大神的博客原创 2017-05-26 10:56:10 · 364 阅读 · 0 评论 -
ios MBProgressHUD使用以及自定义样式
关于MBProgressHUD的使用以及自定义样式,以及扩展MBProgressHUD之后从controller中提出来单写的接口原创 2017-03-02 16:20:20 · 5465 阅读 · 0 评论 -
ios 二维码扫描和生成
转自https://github.com/kingsic/SGQRCode#import "SGQRCodeTool.h"//生成二维码#import "SGQRCode.h"//扫描二维码UIImageView *imageView2;//生成二维码 imageView2 = [[UIImageView alloc]initWithFrame:C转载 2017-05-16 14:11:54 · 433 阅读 · 0 评论 -
第三方webview-------FHWebView
https://github.com/feihuang89/FHWebView网上找的第三方webview,FHWebView,作者说的挺牛逼,就是不知道怎么实现出来#import "FHWebManager.h"#import "FHWebViewProgressView.h"#import "UIViewController+NavgationBar.h" //在作原创 2017-05-16 15:06:13 · 745 阅读 · 0 评论 -
第三方webview---SPWebView
git上的第三方webview控件https://github.com/lishiping/SPWebView没有实现出git项目上面的加载进度条效果,具体还得继续研究啊@interface ThridViewController (){ SPWebView *swebView;}swebView = [[SPWebView alloc]initW原创 2017-05-16 14:45:10 · 972 阅读 · 0 评论 -
图片查看器MJPhotoBrowser
MJPhotoBrowser实现了图片浏览和查看功能,我使用的只是查看。#import "MJPhoto.h"#import "MJPhotoBrowser.h"UIImageView *imageView;NSMutableArray *photos;photos = [NSMutableArray arrayWithCapacity:1];[self add原创 2017-05-16 13:58:10 · 817 阅读 · 0 评论 -
第三方等待框AMPActivityIndicator
使用pod的可以搜索到,从git项目down下来#import "AMPActivityIndicator.h" AMPActivityIndicator *loadInd; //初始化等待框 loadInd = [[AMPActivityIndicator alloc]initWithFrame:CGRectMake(kViewWidth / 2 - 25,原创 2017-05-16 13:57:04 · 220 阅读 · 0 评论 -
AFNetworking用法
首先下载AFNetworking库,#import "AFNetworking.h"使用一下方式进行http请求 AFHTTPSessionManager *manager = [AFHTTPSessionManager manager]; NSMutableDictionary *dict = [NSMutableDictionary dictionary];原创 2017-05-16 13:46:29 · 245 阅读 · 0 评论 -
ios代码习惯
不要在viewDidLoad里面初始化你的view然后再add,这样代码就很难看。在viewDidload里面只做addSubview的事情,然后在viewWillAppear里面做布局的事情,最后在viewDidAppear里面做Notification的监听之类的事情。至于属性的初始化,则交给getter去做。比如这样:#pragma mark - life cycle- (原创 2017-05-26 08:47:41 · 304 阅读 · 0 评论 -
iOS LaunchImage 标准尺寸
iPhone Portrait iOS 8,9Retina HD 5.5 (1242×2208) @3xiPhone Portrait iOS 8,9Retina HD 4.7 (750×1334) @2xiPhone Portrait iOS 7,8-2x (640×960) @2xiPhone Portrait iOS 7,8-Retina 4 (640×1136) @2x转载 2017-03-06 15:07:56 · 610 阅读 · 0 评论 -
虚拟键盘弹出挡住textfield的分析以及解决办法
转自http://blog.csdn.net/u011374699/article/details/45894303原本用的方法是int offset = textfield.frame.origin.y + height - self.view.frame.size.height + 216(键盘高度)来计算y轴移动的偏移量。如果offset大于0,就向上偏移。这里有个问题:如转载 2017-03-01 16:36:39 · 512 阅读 · 0 评论 -
iOS开发之键盘类型UIKeyboardType
转自http://blog.csdn.net/crazyzhang1990/article/details/39965931UIKeyboardTypeDefault:UIKeyboardTypeASCIICapable:UIKeyboardTypeNumbersAndPunctuation:U转载 2017-03-01 11:24:23 · 402 阅读 · 0 评论 -
MAC瘦身,XCODE手动清理
Mac清理缓存,,瘦身转载 2017-09-20 13:54:00 · 300 阅读 · 0 评论