帖子
帖子
用户
博客
课程
123下一页
返回列表 发新帖
显示全部楼层
5
帖子
0
勋章
51
Y币

[问题求助] ios17中文输入的时候闪退,不知大家有没有遇到

[复制链接]
发表于 2023-9-25 10:14:55
本帖最后由 言笑 于 2023-9-25 10:44 编辑

输入英文,数字,符号这些就没有问题,一旦选择中文输入的时候,输入拼音就会立刻闪退
录屏:
/s/13wiV4q_V1-xVSZHDh9HNwQ?pwd=gyra
6510f395719e8.png
你这么说的,我都不敢升级17了,能发个录屏看一下吗,只有17是这样的,其他的都正常,你们有做输入实时监听什么的吗,是不是有什么代码执行的问题。
5
帖子
0
勋章
51
Y币
本帖最后由 言笑 于 2023-9-25 10:50 编辑
chyd · 2023-9-25 10:16你这么说的,我都不敢升级17了,能发个录屏看一下吗,只有17是这样的,其他的都正常,你们有做输入实时监听什么的吗,是不是有什么代码执行的问题。 ...

录屏放网盘了,可以看一下,输入没有任何监听,app内应该是所有输入都不行,我测试了几个页面的输入都是这种问题
言笑 · 2023-9-25 10:44录屏放网盘了,可以看一下,输入没有任何监听,app内应该是所有输入都不行,我测试了几个页面的输入都是这种问题

这块代码能贴一下,看看怎么写的吗。
39
帖子
2
勋章
3291
Y币
我们也遇到这个问题了     app里点击输入框,弹出键盘就闪退 ,输入的机会都没有
ios191 · 2023-9-25 11:25我们也遇到这个问题了     app里点击输入框,弹出键盘就闪退 ,输入的机会都没有

你的也是因为ios系统升级到17的原因吗,还是其他版本也这样。
39
帖子
2
勋章
3291
Y币
chyd · 2023-9-25 11:59你的也是因为ios系统升级到17的原因吗,还是其他版本也这样。

就ios17这样   其他没问题
5
帖子
0
勋章
51
Y币
chyd · 2023-9-25 11:20这块代码能贴一下,看看怎么写的吗。
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.         <meta charset="utf-8">
  5.         <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
  6.         <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
  7.         <title>忘记密码</title>
  8.         <link rel="stylesheet" type="text/css" href="../css/api.css" />
  9.         <style>
  10.                 /*html,
  11.                 body {
  12.                         width: 100%;
  13.                         height: 100%;
  14.                 }*/
  15.                 #contentbox{
  16.                   position: relative;
  17.                 }
  18.                 .con {
  19.                         width: 90%;
  20.                         margin: 0 auto;
  21.                         position: relative;
  22.                         float: left;
  23.                         margin-top: 30%;
  24.                         margin-left: 5%;
  25.                         /*transform: translateY(30%);*/
  26.                 }
  27.                 .log {
  28.                         font-family: Arial;
  29.                         border: none;
  30.                         outline: none;
  31.                         background-color: #f1f4f8;
  32.                         border-radius: 20px;
  33.                         width: 100%;
  34.                         height: 50px;
  35.                         margin-top: 10px;
  36.                 }
  37.                 .uid {
  38.                         text-indent: 40px;
  39.                         background: #f1f4f8 url(../image/uid.png) no-repeat;
  40.                         background-position: 10px 15px;
  41.                         background-size: 20px
  42.                 }
  43.                 .pwd {
  44.                         text-indent: 40px;
  45.                         background: #f1f4f8 url(../image/pwd.png) no-repeat;
  46.                         background-position: 10px 15px;
  47.                         background-size: 20px
  48.                 }
  49.                 .seccode{
  50.                         text-indent: 40px;

  51.                 }
  52.                 .codeBox{
  53.                         position: relative;
  54.                 }
  55.                 #getcode{
  56.                         position: absolute;
  57.                         right: 15px;
  58.                         bottom: 15px;
  59.                         color: #2797d6;
  60.                         outline: none;
  61.                 }
  62.                 .btn-login {
  63.                         background-color: #2798d6;
  64.                         color: white;
  65.                 }
  66.                 .img-tx {
  67.                         margin: 0 auto;
  68.                         width: 100px;
  69.                         height: 100px;
  70.                 }
  71.                 .img-tx img {
  72.                         width: 100px;
  73.                         border: none;
  74.                         border-radius: 50px;
  75.                         height: 100px;
  76.                 }
  77.                 #footer {
  78.                         text-align: center;
  79.                         width: 100%;
  80.                         z-index: 1;
  81.                         margin-top: 15px;
  82.                 }
  83.                 #footer a {
  84.                         color: #000;
  85.                 }
  86.                 .bl{
  87.                         display: none;
  88.                 }
  89.                 .forget{

  90.                 }
  91.                 .imgBottom{
  92.                         position:absolute;
  93.                         bottom: 24px;
  94.                         width: 100%;
  95.                         text-align:center;
  96.                 }
  97.                 /*设置样式*/
  98.         </style>
  99. </head>
  100. <body>
  101.         <div id="tes"></div>
  102.         <div id="contentbox">
  103.                 <div class="con" id="con">
  104.                         <div class="img-tx"><img id="usrtx" src="../image/usr.gif" onerror="javascript:this.src='../image/usr.gif'" alt="" />
  105.                         </div>
  106.                         <div>
  107.                                 <div><input class="log uid" value="" id="uid" type="text" placeholder="手机号/用户名1"  /></div>
  108.                                 <div"><input class="log pwd" value="" type="password" id="pwd" placeholder="用户密码"  /></div>
  109.                                 <div class="codeBox bl">
  110.                                         <input class="bl" id="checkstt" type="text" tapmode />
  111.                                 </div>
  112.                                 <!-- <div class="forget"><a href="uppassword.html">忘记密码?</a></div> -->
  113.                                 <input class="log btn-login" value="登录" type="button" id="btn-log" />
  114.                                 <div id="footer">
  115.                                         <a href="uppassword.html" style="color:#9e9898">忘记密码?</a>
  116.                                 </div>
  117.                         </div>
  118.                 </div>

  119.         <div class="imgBottom" ><img style="height:16px;"  src="../image/login_bottom.png" alt="" /></div>
  120. </div>
  121. </body>

  122. </html>
复制代码

我把所有js全部取消了,一样的会发生闪退,这样可以说什么都没有了,我用的自定义loader一样会闪退,打包的测试版也是一样,正式的就不说了,现在客户在用的已经反应升级ios17后无法使用了,我待会尝试重新写个dome来试一下看看有没有问题
5
帖子
0
勋章
51
Y币
言笑 · 2023-9-25 15:44我把所有js全部取消了,一样的会发生闪退,这样可以说什么都没有了,我用的自定义loader一样会闪退,打包的测试版也是一样,正式的就不说了,现在客户在用的已经反应升级ios17后无法使用了,我待会尝试重新写个do ...

找到问题了,config里面配置了useWKWebView=false导致,取消这个配置就正常了,那么现在问题又来了,如果现在这个不配置的话默认useWKWebView=true,因此会有其它的问题出现
我之前的帖:
急,云编译IOS版本,DB模块出现事物,锁表等错误
https://community.yonyou.com/for ... &fromuid=462655
(出处: YonBIP开发者社区)
死循环了吗?我丢
39
帖子
2
勋章
3291
Y币
言笑 · 2023-9-25 16:11找到问题了,config里面配置了useWKWebView=false导致,取消这个配置就正常了,那么现在问题又来了,如果现在这个不配置的话默认useWKWebView=true,因此会有其它的问题出现
我之前的帖:
急,云编译IOS版本,DB模 ...

好滴      我试试看
123下一页
您需要登录后才可以回帖 登录

本版积分规则