Skip to content

3.1.3

Choose a tag to compare

@MoLice MoLice released this 02 Apr 15:25
· 216 commits to master since this release

新增功能

  1. UIScrollView (QMUI) 增加 qmui_setContentInset:animated: 支持以动画形式修改 contentInset。
  2. QMUIHelper 增加 +isZoomedMode 方法用于判断当前设备是否处于放大模式下。
  3. UITableViewCell (QMUI) 增加 qmui_setHighlightedBlock 和 qmui_setSelectedBlock。

Bugfix

  1. #509 修复 UIImageView 开启了 qmui_smoothAnimation 后,sizeToFit 得到 CGSizeZero 的错误大小的 bug。
  2. #512 by @ziezheng 修复当使用 qmui_usedAsTableHeaderView 的模式下,UISearchBar 从 active 回到非 active 状态过程中会出现抖动的系统 bug。
  3. #512 by @ziezheng 修复手势返回过程中导航栏按钮动画错误的 bug。
  4. #524 修复 QMUIImagePickerViewController 在 iPhone X 上布局可能错误,导致无法被设置为2列的 bug。
  5. #529 修复 QMUILabel 使用了 contentEdgeInsets 后在某些情况下文字偏上的 bug。
  6. #530 修复用于区分放大模式的宏 IS_ZOOMEDMODE 在 iPhone Plus 系列设备下不准确的 bug。
  7. #535 修复 QMUIRuntime.h 被 import 到 MRC 的文件中时会导致编译失败的 bug。
  8. 修复 UIBarItem (QMUI) 在调用 qmui_viewLayoutDidChangeBlock 时可能产生的野指针 crash。
  9. 修复 QMUIBadge 同时存在 badgeString 和 badgeInteger 的情况下,未读数字没有盖在红点上的 bug。