- 博客(4)
- 收藏
- 关注
原创 给UITextView加边框
alertTextView.layer.backgroundColor = [[UIColor clearColor] CGColor]; alertTextView.layer.borderColor = [[UIColor blackColor]CGColor]; alertTextView.layer.borderWidth = 1.0; [alertTextView.layer ...
2018-09-28 15:46:41 517
原创 Xcode报错clang错误 的解决办法
一般情况下报这个错误,是因为更改了目录结构,肯定是把一些文件夹的位置给更改了,那个改回去就会正常了。具体为什么更改路径之后就会报错,不得而知,日后再来更新...
2018-09-20 09:51:28 10352
原创 iOS开发---在View中获取当前的控制器ViewController
这是我师傅告诉我的,废话不多说,直接上代码。#pragma mark 获得当前view的控制器- (UIViewController*)viewController { for (UIView* next = [self superview]; next; next = next.superview) { UIResponder* nextResponder = [...
2018-09-14 14:10:34 3458 1
翻译 iOS开发无法运行从网上下载的项目
我经常遇到从GitHub或者其他地方下载下来的demo无法运行的情况,此次运行“百度云推送”的官方demo时又遇到了类似的问题,实在忍无可忍,看了好多大牛提供的解决方案,再次记录一下,这位仁兄写的很棒。https://blog.csdn.net/soindy/article/details/47184933...
2018-09-11 10:22:10 779
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人