提交 88e4d2b1 编写于 作者: lizhongyi_'s avatar lizhongyi_

Merge branch 'dev' into alpha

* dev:
  fix: UITextField初始化方法
import { NotificationCenter } from 'Foundation';
import { CGRect } from "CoreFoundation";
import { UIApplication, UIView, UITextField, UIScreen, UIDevice } from "UIKit"
import { UTSiOS, UTSCallback } from "DCloudUTSFoundation"
import { DispatchQueue } from 'Dispatch';
......@@ -36,7 +37,7 @@ class CaptureScreenTool {
}
static createSecureView() : UIView | null {
let field = UITextField()
let field = new UITextField(frame = CGRect.zero)
field.isSecureTextEntry = true
if (field.subviews.count > 0 && UIDevice.current.systemVersion != '15.1') {
let view = field.subviews.first
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册