摘要:
阅读全文
摘要:
[!] /usr/bin/curl -f -L -o /var/folders/dj/yccslvys6tb53k2vz87djfsh0000gn/T/d20170219-12508-z77a4l/file.zip https://github.com/kylefleming/opencv/rele 阅读全文
摘要:
webView加载html代码时,使用webView自带的 scalesPageToFit 可以解决图片所带来的超过屏幕问题;但是,所带来的问题就是文字变小了,怎样让图片边小,并且文字还是原来html里大小? 只需加上一段代码就OK。 [self.webView loadHTMLString:[NS 阅读全文
摘要:
为加载时添加代码 30设置的字体大小 strings HTML代码 注意:如果设置了style必须把font去掉,不然没效果 有table也没效果 margin 距离边界距离 适合自适应高度 NSString *string = [NSString stringWithFormat:@"<html> 阅读全文
摘要:
在自定义的tabbarController里加上这一句就ok [[UITabBar appearance] setShadowImage:[UIImage new]]; [[UITabBar appearance] setBackgroundImage:[[UIImage alloc]init]]; 阅读全文
摘要:
#import "QKBaseNavigationController.h" #define fontSize 19 @interface QKBaseNavigationController ()<UIGestureRecognizerDelegate> @property (nonatomic, 阅读全文
摘要:
自定义view .h @interface MSProgressView : UIView @property (nonatomic, assign) CGFloat progress; @end .m - (void)setProgress:(CGFloat)progress { _progres 阅读全文
摘要:
Code Sign error: No code signing identities found: No valid signing identities 解决办法:如果证书可获取,最简办法就是把所有证书全删了,直接真机运行请求证书完毕就OK 或者将真机测试相关证书删了,重新下载导入,真机运行。 阅读全文
iPhone doesn’t support any of GongShangJ.app’s architectures. You can add iPhone’s armv7s architectu
摘要:
iPhone doesn’t support any of GongShangJ.app’s architectures. You can add iPhone’s armv7s architectu 阅读全文
摘要:
在对应的控制器中设置下面属性 self.automaticallyAdjustsScrollViewInsets = NO; 这样就好了。 阅读全文