Skip to content

2.7.3

Compare
Choose a tag to compare
@MoLice MoLice released this 21 Jul 05:40
· 337 commits to master since this release

新增功能

  1. QMUIImagePreviewViewController 支持手势拖拽退出预览状态,同时优化了一些方法的命名。
  2. QMUIDialogViewController 增加属性 modalPresentationViewController 方便自定义,增加方法 - removeCancelButton- removeSubmitButton
  3. NSString (QMUI) 增加 - qmui_stringByReplacingPattern:withString: 方便使用正则表达式修改字符串。

会带来 QMUI 新旧版本兼容问题的更新

  1. 重新整理了 QMUIDialogViewController 的代码,一些操作的执行时机与以前不同。

如何适配新版

  1. 全局搜索 startPreviewFromRectInScreen:,将其替换为 startPreviewFromRectInScreenCoordinate:
  2. 全局搜索 endPreviewToRectInScreen:,将其替换为 exitPreviewToRectInScreenCoordinate:
  3. 全局搜索 startPreviewFading:,将其替换为 startPreviewByFadeIn:
  4. 全局搜索 endPreviewFading:,将其替换为 exitPreviewByFadeOut:
  5. 全局搜索 QMUIZoomImageViewimageViewRectInZoomImageView,将其替换为 contentViewRectInZoomImageView