I am loading SFSafariViewController in my Xamarin iOS and loading https://osdn.net/projects/sfnet_fotohound/downloads/sample-pictures/Sample/Sample-Pictures.zip/ this URL.
When I hit this URL in my Safari App, a Zip file is automatically downloaded and a Open In.. option comes.
BUT nothing happens when i load this url in my App in SFSafariViewController or Webview
Related
I have an Electron App that loads a Safari App Extension in the Safari Browser.
When I open the browser, I can see my extension listed in Safari -> Preferences... -> Extensions.
As soon as I enable it, I see the Toolbar Icon appear then disappear.
Is there a way for me to debug my extension when it is loaded from Electron?
After some research I found out that we can find crash logs on a Mac machine in ~/Library/Logs/DiagnosticReports/
I am trying to open the dropbox App from my app. Here I can link and upload the files into the dropbox correctly. I have a link button to dropbox in my app, on clicking this I can be redirected to the dropbox app, I am using the code below.
if (!UIApplication.SharedApplication.OpenUrl(NSUrl.FromString("testscheme://com.account.appname")))
{
NSString urlString = new NSString(Session.DropboxAPIHost);
NSUrl myFileUrl = new NSUrl(urlString);
UIApplication.SharedApplication.OpenUrl(myFileUrl)
}
But nothing will happening. I am new to xamarin Please suggest a solution
I think you can use url scheme to open dropbox.
I tried it and it works ~
//dbapi-1 is Dropbox url scheme
NSUrl appurl = NSUrl.FromString("dbapi-1:");
UIApplication.SharedApplication.OpenUrl(appurl);
And maybe you can see this
Does dropbox app on iOS has a URL scheme?
I am trying to upload file from a UIWebView that is presented modally.
It works fine in iOS 7 but in iOS8 i have the options to take a picture or choose from existent and when i click in anyone of the options list the web view is dismissed and no file uploaded.
Can anyone help me please?
I created an osx application in xcode that shows a webpage using a webview. But for some reason it is not showing the file open dialog in my webpages.
Safari and chrome seem to be fine so the page seems to be ok.
The only related setting for the webview i can find in xcode is "enable popups" but that's enabled. Does anyone know why this might be happening?
Thanx
Wouter
I put a link on a button in an iPhone app (xcode 4.2). The link does open a safari window successfully to other websites, but not to the iTunes Preview pages to specific apps. This problem occurs if the link is entered directly in the code. It also occurs on an indirect link to the app store page--i.e. a page with a working link to an iTunes app page gets there fine from Safari on the mac itself, but not when the page loads up on the iPhone simulator and the same link is clicked.
Any ideas?