[TIMOB-23608] How to disable a copy,define,share popup menu inside the iOS webview
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Critical |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2016-07-03T16:23:03.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Jignesh Kasundra |
Assignee | Chee Kiat Ng |
Created | 2016-06-06T07:11:59.000+0000 |
Updated | 2016-07-03T16:23:03.000+0000 |
Description
i am facing issue with iOS platform. after selecting a text in webview , a default popup menu gets appeared with the options copy , define, share
so i need to stop/disable that default popup menu which have options copy , share, define. without blocking webview text selection.
Hello, Thanks for reporting. Please share test code with us so that we are able to reproduce the issue. We will be able to give you workaround when we are able reproduce the issue and if its proved to be a bug we will escalate the ticket. Thanks in advance
here is the image for your reference. [http://testaz3.azardi.com/issue/IMG_SAMPLE.jpg]
Hello, I believe this is iOS default behavior when a text is selected it shows these options. iOS has this feature natively. If iOS does not allow this we can't provide this feature either. If this is possible in native platform, Please provide the link and iOS official documentation guide on how this is handled in iOS. We will consider this as a new feature request once sufficient data is provided. Regards, Sharif.
Hello, thanks for reply. looks this is possible in iOS Native platform. most of the reading application hides the copy option for the content security. please check, below is the image of one of the iOS Native application for your reference http://testaz3.azardi.com/issue/Reference.jpg
Hello, It would be better if you provide more information like iOS documentation reference about how this is handled. This might be done adding a key to plist. If that so, You can try adding them into projects iOS section of tiapp.xml file. Regards, Sharif.
its good if this can be handle by adding key to plist. but i have no idea which key need to include into the tiapp.xml file so that can block copy option. could you please help me.
Hello, As I said you need to provide sufficient native reference for a new feature to be included in the platform. Look into the native docs, see how it's done. provide sufficient reference for us to work on.
Hello, can you please take a look below reference link. is this useful to implement ? {color:#205081}http://sugartin.info/2012/10/26/hiding-menu-on-appear-in-uiwebviewuitextviewuitextfield/{color}
Hello, Thanks for sharing. Our engineers will look into it. We will let you know if and when we will include the feature in our platform.