- 博客(6)
- 资源 (72)
- 收藏
- 关注
转载 WebView自适应高度
/////////////////////////////初始化,self.view是父控件///////////////////////////////// _webView = [[UIWebView alloc] initWithFrame: CGRectMake(0, 0, self.view.frame.size.width, 0)]; _webView.delegate
2016-05-26 16:34:31 433
原创 博客评论时间显示算法
-(NSString *)compareCurrentTime:(NSDate*) compareDate{ NSTimeInterval timeInterval = [compareDate timeIntervalSinceNow]; timeInterval = -timeInterval; timeInterval +=8*3600-240; int temp = 0; N
2016-05-23 13:03:29 860
转载 如何解决端口被占用情况
前提:首先你必须知道,端口不是独立存在的,它是依附于进程的。某个进程开启,那么它对应的端口就开启了,进程关闭,则该端口也就关闭了。下次若某个进程再次开启,则相应的端口也再次开启。而不要纯粹的理解为关闭掉某个端口,不过可以禁用某个端口。1. 可以通过"netstat -anp" 来查看哪些端口被打开。(注:加参数'-n'会将应用程序转为端口显示,即数字格式的地址,如:nfs->2049,
2016-05-19 20:49:53 829
原创 如何让导航器下边的一部分的颜色和导航器、头部颜色相同
1.添加代码@property (nonatomic, strong) UINavigationBar *customNavigationBar; customNavigationBar = [[UINavigationBar alloc]initWithFrame:CGRectMake(0, 64, self.view.bounds.size.width, 35)];
2016-05-18 17:24:02 589
原创 IOS UITextField输入位数限制
有时候,我们会遇到输入内容长度的限制,比如身份证号输入18,超过18位不让输入。复制粘贴也不可以,如果超过了18位就截取到前18位。1.添加UITextFieldDelegate2.添加输入框内容变化响应函数- (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)rang
2016-05-06 16:18:59 3414
转载 IOS CopyPNGFile 异常问题解决
今天突然出现一个编译问题,搞了我好久,这里不多说了。直接整理出来,记录下来!问题描述如下图:出现:CopyPNGFile 异常错误,Command /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/copypng failed with exit code 1
2016-05-06 13:26:35 3742
IOS程序跳转demo
2017-09-05
IOS字体展示
2017-01-04
GuideDemo.zip
2020-04-13
mysql-5.7.29-1.el7.x86_64.rpm-bundle.zip
2020-02-22
cornerstone 3.0.3 破解版和使用方法
2018-09-15
对半查找,选择排序,冒泡排序和快速排序的Objective-C实现
2018-03-13
多线程使用FMDB操作sqlite数据库
2018-03-08
swift4 新功能
2017-10-24
Swift3官方中文文档
2017-10-24
KVO-KVC-demo
2017-09-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人