convert an application iPad in a iPhone (how to make...the popover) - xcode4

I have an iPad application that opens a box by pressing a button that works as a popover. would be possible to convert it into a iphone application where when I press the button opens a full screen view specific?

Based on comments you should checkout following tutorial:
http://www.roseindia.net/tutorial/iphone/examples/iphone-imagebuttonchangeview.html
Kind regards,
Bo

Related

How to change the keyboard layout of a UWP app in Xamarin Forms?

I am working on a Xamarin Forms app which I want to deploy on Windows (UWP). The current problem I am trying to solve is to set the keyboard layout on an "Entry". According to the docs the only change I have to make is to add a "keyboard" property in the Entry xaml code like that:
<Entry Keyboard="Numeric" />
That does work fine in Windows Mobile Emulator and the keyboard does change as soon as I click on the entry. However, when I run the project on a Surface Pro tablet (UWP) the layout of the keyboard does not change at all.
On tablets, no matter if it is an iPad or a surface, the Keyboard property is ignored. On a phone it is not.
So you have no chance to influence it on a tablet.

auto enter vr mode in aframe without clicking vr button

HI I'm developing VR cordova app based on aframe framework.
In My app user must click on enter vr button every time he wished to enter in vr mode. but actually it should start vr mode witout any enter vr button click.I have tried in online for solution but nothing helped me to complete my requirement. i even tried jquery for auto click for but it's not working because its loading to slow or anything else i didn't know exact reason. I'm looking for simple solution that user can enter vr mode by default. I mean without clicking any button.
Hope i will get better answer here and example.
Thanks for your help in advance.
enterVR() function involves requesting full screen. Due to security reasons chrome does only allows these requests if they are coming from user interaction i.e. tapping, clicking etc.
Have you tried
document.querySelector('a-scene').enterVR()

text box loses focus on iphone

I have a mobile webpage that works fine in browser in PC and in Iphone safari browser.
This page has a search box with auto-suggest feature.
My client has a iphone native app, and he pulls this page into his native app.
With in the app, when user start typing in the search box, after the first letter, the lookup results popup, search box loses focus and the keypad goes away.
When you click in the text box and continue typing, every thing is fine.
Any ideas on whats going on or how to even debug this?

window.open in web application for iPad running in fullscreen replaces the existing window

I am writing a simple (ASP.NET) web application for the iPad. It is written and works well however one feature is it serving up PDF files (among others). To do this I used window.open to open the file.
When this is done in Safari, it works perfectly. You click the button, the file opens in a new tab; you can then close the tab to return to the previous web page.
However now running the application in fullscreen mode - i.e. with the appropriate "meta names" set and from a shortcut on the home screen - when you click the button to load the file, it loads fullscreen with no means to get back to the last page.
Because it is a file, not a webpage, I can't put a "Back" button on, and when you press the iPad button it simply closes the whole thing.
I know this has been asked before and I have read a number of similar questions - the closest of which was this:
https://stackoverflow.com/questions/9168236/web-app-hyperlinks
If at all possible, it would be far preferable (thanks to the control library I am using) that the button click is done with javascript - it is not easy to set the link href.
The upshot is I really I just want to create a new window from within a fullscreen iPad web application, or allow the "back" navigation somehow...
Is this possible?
Thanks!
Create an iframe on your page rather than using an window.open and set that as the target.
That way your pdf would open within your existing window.
Use some client side javascript like jQuery to style it like a dialog window.

AIR: make taskbar item flash?

Is there a way to make the taskbar item flash in an AIR app? like it does in other applications to alert the user of a change.
Thanks!!
You need to call:
stage.nativeWindow.notifyUser(NotificationType.CRITICAL);
Just to put some more info, the notification types that can be used here are:
NotificationType.CRITICAL: the window icon flashes until the
user brings the window to the foreground.
NotificationType.INFORMATIONAL: the window icon highlights by changing color.
There's an article on livedocs about using Taskbar here

Resources