How to open a website on UIWebview as computer? - uiwebview

On Google Chrome there is this option "Website for computer". Many websites recognize that your are using mobile phone and they redirect you to another website made for mobiles.
I just need to don't let them to recognize that I'm using a UIWebview from IOS.

I imagine you can get this effect by changing the user agent.
That should work with most web sites, unless they are really serious about trying to detect mobile devices (by checking window size, etc).

I solved with this:
NSDictionary *dictionary = [NSDictionary dictionaryWithObjectsAndKeys:#"Your user agent", #"UserAgent", nil];
[[NSUserDefaults standardUserDefaults] registerDefaults:dictionary];

Related

Force open a shared SharePoint list link in a browser on a mobile device

I have a SharePoint list that I would like to share with external users, some might not have a Microsoft 365 account. I have created the link so anyone have access to the list. The link works great in a browser on a laptop when I open in a private browser.
I then generate a QR code for this link. When I scan the QR code on an iOS mobile device it force open in the Microsoft Lists app. It then says "Permission Required - You don't have permission to view this list".
I then tried to open the link in a browser on an iOS mobile device and that worked fine.
So the question is. How do I force the link to open in a browser instead of the Microsoft Lists app?
I have tried to append "web=1" to the link but that doesn't change anything.
If you’re using an iPhone, there are a few different ways to open links in your browser of choice instead of in the default app. One way is to long press on the link (this works in most apps), which will bring up a menu with the option to “Open in Safari.” You can also change your default browser settings so that all links automatically open in Safari or another browser.

The search option does not show on a mobile device using Housez theme

I decided to use the Housez theme as it advertises as super easy and flexible to use. I am not a web designer but have managed to get my site up and running. www.islandestates.net The problem I have is that there is no search option for the properties on a mobile device? The desktop version works well but how do I get a search box onto the mobile version?
The support from Housez is non existent, I have submitted a request to favetheme but they never reply.
Any help would be aprreciated.
Malcolm

How to disable deep links in my UIWebView

I've developed a web browsing app based on a UIWebView. All good until iOS 9 and the new way it handles universal links. For some reasons, when the user touch a link, I want him to stay in my browser instead of switching to the associated app (Twitter, Linkedin, Facebook, etc.). Is there a way to do that?

attaching a file via iPad using Lotus Notes XPages

I am fairly sure this is not possible because of limitations of the iPad but has anyone worked with the iPad and XPages to allow a user to choose a file from the iPad to attach on an XPage? For example, the user wants to attach a PDF file...where would he be able to get it on the iPad. I'm not an iPad expert, but from the little that I know, I don't think this is possible.
Thanks in advance.
iOS 6 allows you to upload photos or vidoes - not any other files.

Developing a web site that can be accessed through mobile phone applications

I am developing a site that is tested only in Firefox and IE. Now I need to make the site accessible from mobile also.
So I need to know whether I need to calculate the time needed to shift the site. Is this created as a new application or the same application is modified?
When accessing stackoverflow.com from my mobile the design is entire changed. How is this done? Is it a separate application?
Thanks
Whether or not you need to create a new application for mobile depends on the site you have. The website at my workplace could not possibly fit on a mobile phone screen (too many frames), but other sites that have a more adjustment-friendly layout might just need a little tweak.
I would test your site on a mobile browser emulator, there are a bunch of them listed on this site.
Also, you might consider switching your firefox's user agent (here) so you can browse popular site's mobile versions, along with the source they used to lay it out.
Usually different CSS templates chosen using UA string matching. My phone has a fairly fully enabled web browser on it, so I get the whole of stackoverflow the same.
Some phone browser may also "mobile optimise" the layout, or in the case of opera mini, it does it on opera's proxy server and then sends modified data to the phone.
Javascript support is more of a problem, expect it to be minimal in most cases, although it is getting better.

Resources