phonegap ios work with voiceover - ios

I have an app using phonegap. But When I open voiceover function, it read the out the html code for me. For example . It will read "banner png Image". Is there any method that I can use to skip reading div?
Thank you.

I don't think your assumption is correct. I believe it is reading out the file name of the image. Give it a label of some kind!

Related

Move a Text box in a PDF viewer using PDFKIT - Swift

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

Pdf text reflow in swift

I am currently using UIDocumentInteractionController to view pdf files. I know I can use UIWebView also.
My question is,
Is it possible to do text reflow for pdf files in swift where I can change font size and make it easier to read ? Is there any open source library for that?
I am saying something like this
Does apple PDFKit able to do it? Has any one tried it before?
Thanks!

How to use Swift Playgrounds-style code input keyboard/text field in normal text view?

I'm making an iPad app that lets me write swift code into a text box and save it to a document. It doesn't do any compilation or any complicated stuff like that, so I'm just looking for a way to format the code correctly in the text box (ex: code autocomplete, autoindent if possible, and maybe syntax highlighting). In short, I'd like my app's text field and keyboard to look similar to those of Swift Playgrounds.
If Apple's provided the code (or a built-in keyboard option that can do even some of this), I'd appreciate a link to it. Otherwise, how would I go about building a custom keyboard and text field (or at least disable the features like autocomplete that would get in the way)?
Thanks.
As far as I know the only way to do what you describe is to build a Swift Playgrounds app that presents a code editor window. Apple does provide documentation on creating third party iPad Swift playgrounds. I suggest looking it up on Apple's site.

Firemonkey android how to set transparency form like widget and remove the black background system behind my app

I have a question about firemonkey inside android !
Is it possible to remove the black system background when my application launches ?
I mean: I want to make my main form application transparent and show just the Rectangle control like the widget in dxscene example ....
Finally, my problem is just how to remove the black background launcher which is a part of the android system and not a bug from firemonkey...
I think it just needs a few lines of API's code to resolve the problem...
Any way...if anyone want to reply, be sure that all your suggestions will be appreciated and welcome.
maybe you must play with
WindowManager.updateViewLayout(view, layoutparams);
maybe something like FLAG_SHOW_WALLPAPER
https://developer.android.com/reference/android/view/WindowManager.LayoutParams.html
best is to decompile classes.dex and see the embarcadero java code of the activity
ok i found the solution: is just by Modifying this line: (android:theme="%theme%") inside the <%uses-permission%> section from AndroidManifest.template.xml of your fmx project by this line: (android:theme="#android:style/Theme.Translucent.NoTitleBar") that all.
nb: without parentheses. result here: https://youtu.be/dzEtNGTQjY8

UIWebView differences between ios4 and ios5

i'm using UIWebview to display a local html page.
i tried this
text<span><span/>text
in iOS5, it's "texttext",
but in iOS4, it's "text text".
there is a space,and i want to remove this little space.
any help is appreciated,thanks,
and sorry for my English.
You made a mistake in a span tag. Should be <span></span>. Is it helping? If not, you can manually change CSS params.

Resources