In my application, I am using UIWebview to display some url say "Google". The problem is that, it is displaying the web page correctly but the links present on that page are not working.
Say if on Google page I click on map or gmail, then nothing happens. I know, I am missing some minor things, still need help from you.
Check in Interface Builder your .xib with UIWebView, in Attributes Inspector (4th tab of the right panel) in section Web View Detection Links checkbox. It must be checked on in order to make links work.
You also want to make sure that "User interactions Enabled" (in the View section of the attributes tab) is checked.
Make sure your link is constructed exactly like this:
Google
It should just "work".
Related
I am coding a simple app in Xcode and I have ran into a problem. I can not get links to work on the mobile app that go to other links. For example, if I click on the Twitter button at the bottom of the webpage nothing happens, I want that button to lead to the desired link it was supposed to go to. Also, the words in a page on the site are lined up in a vertical column, and I would like to know how to make the text look better in terms on formatting it correctly. Here is a picturePicture Of Simulator The Code
[Image]
Seems like you're adding your WKWebView the right way and the page is loading fine. The problem with the text is actually coming from the CSS of the site as I have the problem in Safari on my phone as well, so if you are the web admin of the site I'd fix it there.
Did you try if the button you are talking about is responsive when accessing through Safari on your phone/simulator? WKWebView does not have a loading bar and it seems "unresponsive" sometimes even though the sites are loading in the back.
When adding your WebView implementation buttons like the privacy policy on the site work fine for me.
I am creating a multilingual site in Drupal 8. The browser tab title for nodes translate, but in a view the titles are all in english.
Currently, the goal is to create one view page and use a URL alias to direct to the other translation views. I have the filter set to content revisions for languages using the "Interface text language selected for page". On these view pages, everything but the title translates.
Is there a way to force the browser tab titles to translate without having to create additional view pages for each language?
Thank you in advance for any advice
If by "browser tab title" you mean Views' title, enable "Configuration Translation" core module, and then click on "Translate" link next to your View ("Operations" column, /admin/structure/views).
If you mean titles of nodes' which you output in a View, then check out settings of a default prebuild "FrontPage" View, because it works just great with content translations, maybe you've just missed some important settings which you can spot there.
I want to create a Setting page in iPhone.
If you used Facebook in iPhone. You see that when we click on the Setting button on the navigationBar, the main page just go to right, but not disappear, and Setting page comes up.
When we click on the setting button again, we go back to the main page.
Do you know how can I create this functionality in iPhone? I appreciate that you give me some tutorial links.
You can grab this JTRevealSidebarDemo and personalize as per your requirement.
There are plenty of other demo available like,
DDMenuController
ZUUIRevealController
I've been using ViewDeck with good success. It's light (2 classes) and easy to implement.
In JavaScript when I open a popup I can disable the adressbar, so the user can't enter something.
Is there a similar option to disable the adressbar in gwt?
Short of doing exactly that same thing and loading your GWT app within that popup window, no. You could potentially have a page that is NOT part of your GWT application open a new window with whatever options, then set the URL of that window to your GWT app's address. There's no way (AFAIK) to hide the address bar in the current window.
I have not worked in this area much. Actually I could not understand whether you are trying to disable the popup's address bar or current parent window's address bar.
But what ever is possible in javascript that can be done in gwt. So if you know what to do using javascript for your requirement then you can go for JSNI. No need to look for GWT based solution.
Between I like your stackoverflow display name :-)
Thanks
I use and UIWebView in my application to load www.google.com. After the page is loaded, I am not able to click on any of the links. Basically the links dont work. Am I missing something ?
Are user interactions for your UIWebView by any chance not enabled? If you used InterfaceBuilder to create the view check to see if the User Interactions Enabled property for you UIWebView is checked. Programmatically, you can check the userInteractionEnabled property of the web view is set to YES. Also check that interactions are enabled for any parent views that contain your web view.
In UI builder is a checkbox that allows to capture links phone numbers and you have to tick those to enable links ...