Record a problem that iOS clicks the web page button and cannot receive the method natively

Open the web page debugging in the safari browser, select the resource option, and
search for the method name with cmd +f. After finding the method name, check the calling place. The difference between this method and other methods is that there is no parameter passed in the calling place, although We don't need parameters, but because of the particularity of the native interaction between js and iOS, there must be a parameter, so we let the front end wear an empty string, and it's solved

Guess you like

Origin blog.csdn.net/LIUXIAOXIAOBO/article/details/130445325