How can I BY CODE add a web shortcut to iPhone HomeScreen?
There is no API to do this. Your best bet is to do what many web apps do: create something that points at the part of the toolbar where the add to homescreen button exists. And pray Apple doesn't change the position of that button any time soon.
Related
I want to create a button can move to any position like iPhone Style (Virtual Home Button) in Flutter but I don't know any packages or any library can do it. Moreover, I'd like the button to be able to show along with a specific app, eg. dial-up UI. If I deploy to desktop, will its behavior the same with mobile?
ios virtual home button
show button along with dial-up UI
Hope you guys help me ways to create it.
I have tried with unicorndial, floating_bubble, popup window, etc.
but all of them are widget within flutter app, instead of system-wide.
Sorry you can't really create anything like that outside of your App context. Apple is very strict in situations like this.
You can implement this sort of feature in Android by using Floating Service. But for Apple it's a NO NO.
I am new to iOS app development.
I want to develop a popup screen, that should popup when a button is pressed. In this popup I want to show a Login screen, where user will enter username and password and will submit the credentials. I have following requirements to be fulfilled.
It should support all iOS 5.1 and upwards.
It should also support any device orientation.
It should work for both iPhone and iPad.
It is to be delivered in the form of a library .a file.
It will contain a logo(image) also.
I am not able to find out how should i proceed for this, for BB10 I have used sheets for the same purpose.
Any suggestion on how to develop this for the iOS apps.
thanks.
For your first three requirements will fulfill by adding textfields into alertview and for 4th creating library kindly see this Tutorial. Hope it'll help. Thanks.
#mayank http://code4app.net/category/popupview it contains many project for pop up view it will help you!
I was trying to find out how Facebook's application MENU works on iPhone and iPad. Once you press the button at the top left, the main screen moves on the right and the menu appears.
I was trying to create the same menu/effect on xCode but I had no luck.
Do anyone here knows how I can do this? can you redirect me to any website that has that kind of information? Or can you please guide me through on how to make such a menu?
Thanks
the facebook app was created with this open source framework three20
also if you cannot find what you want in the framework, I suggest building your own UI elements inside UIViews, that appear, dissappear as you want,
good luck!
I want do build an webclip browser app. I will display all my webclips in to a scroll view when the user taps on one I want to add that web clip to the iPhone.
How to I tell to the iOS to install that webclip from my app?
Any docs, example, tutorials are welcome.
If by webclip you mean adding a link to a web address to the home screen then you can't do that programatically.
I think only Safari can do this so you would have to open the destination webpage in Safari and instruct the user how to add it to the home screen.
See this for a discussion on the feature. Javascript for "Add to Home Screen" on iPhone?
I need to find out how to make the menu that appears in mobile safari on the iphone/touch when you tap & hold an element appear on a single tap without having to hold. how would i do this? preferably i would use webkit & no js.
UIWebView does not does not call any methods until a link is actually activated, and it does not expose any information about its subviews. There is no way to do with current SDK, you should file a bug with Apple if you need this functionality.