Why can't I pick up a tap on an actual iOS machine?

Asked 2 years ago, Updated 2 years ago, 102 views

I have created an app that moves back and forth using the Onsen UI.

I checked the iPad and iPhone debugger apps, so I joined the Apple Developer program and built it as an iOS app, but it didn't work when I installed it on the actual machine.It doesn't work like Debugger.

Specifically, the first screen is displayed, but the action for the screen tap is not called, so the event does not appear to have been transmitted.

Also, although the first full screen image is prohibited from being dragged by the following process, it will respond to the drag.

ons.ready(function(){
  $(document).on('touchmove', 'img', function(event){
    event.preventDefault();
  });
}); 

Do I need to set it up when I build it?

ios monaca onsen-ui

2022-09-30 21:10

1 Answers

Self-resolved.

When I read the document again, I found an explanation in FAQ 5.16.So I need to manually specify the Cordova plug-in before building.

http://docs.monaca.mobi/cur/ja/faq/application/

When I selected the Cordova plug-in in IDE, I found out what plug-in I needed.


2022-09-30 21:10

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.