摘要:先说我自己的处理 先看效果: 上代码这里只列出关键部分 cellForRowAtIndexPath方法下 // 判断是否为第一行或最后一行 NSInteger firstRow = 0; NSInteger lastRow = [tableView numberOfRowsInSection:ind
阅读全文
摘要:// 判断是否为第一行或最后一行 NSInteger firstRow = 0; NSInteger lastRow = [tableView numberOfRowsInSection:indexPath.section] - 1;
阅读全文
摘要:直接上解决方案,亲测有效哦 iOS端 my..clipsToBounds = YES; macOS端 drawRect [self setClipsToBounds:true]; addSubview后面 [self.chartViewControll.view setClipsToBounds:t
阅读全文
摘要:Runtime是底层C语言API库,支持动态创建类和对象、消息发送和转发,特点是数据类型的确定由编译时推迟到运行时而且以消息方式调用方法,如通知和中央管理。 Runloop是iOS中的事件处理机制,用于接收并处理系统或应用产生的事件(如触摸事件、定时器事件、网络请求、管理自动释放缓存池等),保持应用
阅读全文