- 博客(11)
- 资源 (11)
- 收藏
- 关注
原创 和距离topCapHeight后的1横排像素。
(UIImage *)stretchableImageWithLeftCapWidth:(NSInteger)leftCapWidth topCapHeight:(NSInteger)topCapHeight 这个函数是UIImage的一个实例函数,它的功能是创建一个内容可拉伸,而边角不拉伸的图片,需要两个参数,第一个是左边不拉伸区域的宽度,第二个参数是上面不拉伸的高度。根据设置的宽度和高度,将接下
2017-08-20 23:04:09 231
转载 项目中曾经遇到过的问题整理
分类UILabel标签控件UISearchBar搜索条UIAlertController警告框UIPickerView选择器UITableView表视图控件UICollectionView集合视图UIWebView或WKWebView网页视图XIB布局Common待分类第三方UILabel标签控件文字显示异常(AttributedTitle副
2017-08-17 22:28:36 869
转载 获取工程中window上面的RootViewController
你一般怎么获取工程中window上面的RootViewController第一种方法: UIWindow *window = [UIApplication sharedApplication].keyWindow; UIViewController *rootViewController = window.rootViewController;第二种方法: AppDel
2017-08-17 22:23:56 372
转载 iOS运行报错,主要跟线程有关
iOS app运行时报错:This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes.
2017-08-17 22:16:57 2280
原创 iOS指定页面屏幕旋转
在网上找了好久,大多数都是一样的使用起来没有效果,后来发现这个方法,确实好使。首先在target中设置在AppDelegate.m中- (NSUInteger)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window{
2017-07-22 09:46:40 296
转载 聊天文字在气泡背景图片上的展示
- (UIImage *)stretchableImageWithLeftCapWidth:(NSInteger)leftCapWidth topCapHeight:(NSInteger)topCapHeight 这个函数是UIImage的一个实例函数,它的功能是创建一个内容可拉伸,而边角不拉伸的图片,需要两个参数,第一个是左边不拉伸区域的宽度,第二个参数是上面不拉伸的高度。根据设
2017-06-21 22:48:40 5145
转载 iOS制作聊天气泡
现在几乎所有的社交类APP都会需要做气泡聊天界面,而对于没有做过的同学来说还是有一定难度的。那么这篇博文就是记录一下我自己在实现过程遇到一些问题和解决办法。先来几张截图给大家看看最终的结果:这是一般状态IMG_3029.PNG这是长按弹出菜单状态IMG_3030.PNG这是编辑模式IMG_3031.
2017-06-21 22:42:47 769
转载 CGContextAddArcToPoint和CGContextAddArc的绘图使用
比较难的是CGContextAddArcToPoint 代码如下:[plain] view plain copyCGContextRef context=UIGraphicsGetCurrentContext(); CGContextSetRGBStrokeColor(context,1,0,0,1); CGContextMov
2017-06-21 22:34:19 271
原创 在 UITableView的底部插入新的cell
//添加cell到tableView中 NSIndexPath * newIndexPath = [NSIndexPathindexPathForRow:self.historyArr.count-1inSection:0]; [self.chatTableViewbeginUpdates]; [self.chatTableViewinsertR
2017-06-21 22:11:03 1750
原创 使用block遇到的问题
在写代码的时候用到了block:/** * 点击发送后要发送的文本 */@property (nonatomic,copy)void(^sendContent)(NSObject *content);在调用的时候需要在block里面刷新tableView,但是发现视图层显示的cell存在问题,cell的数据显示为进入重用池之前cell的数据,后来经过修改:se
2017-06-21 21:40:42 867
转载 IOS中UITableView滚动到指定位置_IOS
方法很简单:- (void)scrollToRowAtIndexPath:(NSIndexPath *)indexPath atScrollPosition:(UITableViewScrollPosition)scrollPosition animated:(BOOL)animated有些需要注意的地方:如果在reloadData后需要立即获取tableview的ce
2017-06-21 21:18:43 2069
ios14.0-14.1-14.2-14.3-14.4-14.5-14.6.zip
2021-07-05
ios14.0-14.1-14.2-14.3-14.4真机调试包
2021-03-11
iOS14.0、14.1、14.2真机调试包.zip
2020-11-17
iOS14.2真机调试包.zip
2020-11-17
iOS14.0真机调试包.zip
2020-11-17
iOS13.2.0.zip
2019-11-27
12.4 (16G73).zip
2019-08-12
xcode 12.2sdk真机调试包
2019-04-24
xcode 12.1 (16B92)sdk配置资源包
2018-12-05
xcode 11.4sdk配置资源包
2018-07-19
xcode ios11.3sdk配置资源包下载
2018-05-02
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人