I am experiencing a bug that started happening from iOS 15 when trying to select text in WkWebView. It works perfectly fine in iOS 14 and previous versions. When i tap the screen to select text in the WKWebView the selection box is misplaced. It goes above in the beginning of the document and you can't really tell what are you selecting and you cant select the text you want. In the project javascripts are used to evaluate text and me being a javascript noob can't tell if some of those scripts are the problem or it's something else. Have anyone experienced something like this or could have an idea what could be the problem? I've been stuck here for a while so i would try anything. I have also created a simple test project in which i load any page in WKWebView and i don't have that problem. Any idea is welcomed. Thank you!
I have tried everything i could find with no success.
It looks like you are using deprecated code like: UIMenuController or : UIMenuItem.
Try using the new ways Xcode is recommending.
Related
I am working on this project https://github.com/kishikawakatsumi/BookReader to expand it. It is a PDF viewer implemented by PDFKIT and everything works fine there. but I have a problem in moving an element on the PDF file. I am very new to swift so I really appreciate if some one could help me any how .
I created a text box like the image below in my story board.
and in the result when I run the app is like this
you see it works fine in PDFViewr too. now my problem is that I want to find a way to move this yellow text box during the page by touching it (and also change the height and width of it ). once before , I have found a way using GestureRecognizer but it does not work more after iOS 13. I searched a lot but I all my efforts failed because non of the solutions worked for my project. I really appreciate if help me and even if payment needed, Its very important for me
Thank you very very much
I'm facing a very awkward trouble with my XF NavigationPage on iOS, and can't find anything about it on google. When I navigate from one page to another using Navigation.PushAsync there is 1pt line of previous page on the left of the screen visible untill replace that loading page's content from codebehind, you can see it here: screenshot (I actually have an image im my XAML and it's replaced with content that is loaded from server). If I disable animations with false param on PushAsync this dosen't happen.
Is there any way to preserve animations and get rid of this? Any suggestions appreciated, thank's in advance.
Update to the Latest version of Xamarin Forms, as I remember facing this bug on some previous version of XF probably 3.5 something but when i updated to the latest it started working
Good luck
Revert in case of queries
I am having a very weird issue on an iPhone and I would like to have suggestions on the best way to troubleshoot. My web application works fine for a moment then suddenly all text fields and buttons will have no effect, but only to open the virtual keyboard.
For example, a "delete" button which used to display a "yes/Cancel" modal will only make the keyboard open, the modal won't show up... When I reload the page, everything is working as expected again.
I am testing with an iPhone 6 and Chrome.
Did someone already encountered an issue like that?
I have absolutely no idea how to track down this behaviour and all suggestions are welcomed, What do you suggest I should look in priority?
This issue was coming from a bug in a version of Chrome I was using at that moment (I have no idea which one, since my phone has regular automatic updates).
I strongly advise to have always at lease two different platforms when testing websites!
I'm trying to deploy Whatsapp tutorial application shown in this page (http://www.angular-meteor.com/tutorials/whatsapp/meteor/layout) in IOS 9.3, but I'm not able to run properly due to a navigation problem. The behaviour is very weird, you have to click more than one time an action button in order to navigate to other page. Also, the icons in the tab control are not visible.
Somebody knows How can I fix this issue?
I appreciate your help,
Thanks,
After I was trying to find a solution in different forums, I did this fix that it seems to work for me.
https://github.com/juancho559/whatsapp
I'm currently using PhoneGap (Cordova) to build an App on iPad/iPhone.
One of my page in the app (in html/css/js), have more than 100 input type Number.
When i use finger to target each of them, it's working like a charm.
But when i use the prev/next button from IOS Keyboard, sometime, i don't know why, keyboard slide to down and when i try to open it again with targeting a input with my finger keyboard just blink... Impossible to fixe it without a scroll to release all event.
I've clean my code, refactored some part, look on google and stackoverflow if someone had the same problem but i found nothing...
Did someone know if it's a UIWebView problem ? Or phoneGap? or something else?
Thank's for reading.
If you are happy to just remove the next/previous buttons from your app entirely, the new Phonegap/Cordova 2.6.0rc1 has made this incredibly simple.
In your config.xml file, just set the HideKeyboardFormAccessoryBar preference to true.
In order for those two buttons to work you need to specify their behavior and it seems that it is not specified. Made some research and I think you have two options. Either you get rid of the next/previous buttons at all like explained here or you override textFieldShouldReturn: in a way similar to what is described in this post.