I have a webview in the App. It initially opens a webpage in an iframe, which in turn when clicked it opens another webpage.
Webpage 1: com.test1.page1
WebPage 2: com.test2.page2
Once I navigate to webpage1, none of the navigating/navigated events are fired in my webview.
I successfully navigate to webPage2. But the URL of the webview is com.test2.page2
How do I detect/know that I navigated to Webpage 2 when the URL of the webview remains the same and navigated events in webview do not fire? How to detect iframe is being clicked inside the webview?
The webpage being hosted in an iframe is in ReactJS
Related
i have a webview that loads a log in page in website then the button of the login in website was Covered by pure button in xamarin form.... when i click the pure xamarin button the Button of Log in page in website will also clicked ...
Is it possible to do that?
I am currently using a web view to load some urls,I client reported that when clicking on an item on my menu and the webview is triggered and goes to one of their pages the video they have embedded on their page does not play.
Am I missing something basic here? eg permissions or is it a limitation of the webview?
also one of their links uses "#whatever" at the end and is meant to scrolldown and loading the page, but does not work. Is this supported?
many thanks
I have a Xamarin forms app, that loads a camera and image selector, when I use it in a page they both work fine, however when I am in a page and then use a modal popup to display the same page the links to the camera / image selector does nothing.
I get this error in the Output window in Visual Studio
Warning: Attempt to present <UIImagePickerController: 0x1276b2400> on
<Xamarin_Forms_Platform_iOS_PlatformRenderer: 0x128678400> whose view is
not in the window hierarchy!
I am updated to 4.2.0.719 Xamarin and Xamarin.iOS 10.2.0.4
Anyone have any ideas to get around this in Xamarin Forms ?
I notice a post regarding iOS iOS 8 SDK: modal UIWebView and camera/image picker but this is not for Zamarin ?
I recall having come across a similar issue before and filed a bug report: https://bugzilla.xamarin.com/show_bug.cgi?id=44500
Bug 44500 - A WebView that has a file picker control fails to show photo picker when page is pushed modally.
Description
A ContentPage with WebView that has a file picker control fails to show photo picker when ContentPage is pushed modally. This warning is displayed when the WebView tries to open the UIImagePickerController:
Warning: Attempt to present <UIImagePickerController: 0x7ba68800> on <Xamarin_Forms_Platform_iOS_ModalWrapper: 0x7e379c90> whose view is not in the window hierarchy!
Works as expected when page with WebView is pushed non-modally.
I have Xamarin App, in the app I have a page which I hide the navigation bar for design purposes. But I still want to show back button. What I could do is that I could make a back icon and put it on the layout and call Navigation.PopAsync() on image tab. However is there a way to get the designated back button from the app?
I have a webBrowser Control in my application. I navigate to a web page and zoom it using pinch zooming. Now on clicking of a button, I change the current webPage of the webBrowser control. The new webPage appears automatically zoomed in. How can I reset this zoom everytime on a new navigation?
Here is a post about your problem:
WP7 WebBrowser control zoom
You have to manipulate the html of your page and reset the viewport.