What does it take to add a menu option to the iPhone's Photos/Camera app similar to the "Share via Facebook" functionality, where a user can take a photo with Camera and push it to my app? And what provisions would I need to make in my ViewController to accomodate the pushed image data?
Thanks.
Simply put, you can't. Apple doesn't allow your app to add functionality to built-in iOS apps.
You will need to build into your app a camera feature that can access the users Photo Library and also add the sharing functionality that you are looking for.
Related
I need to integrate social media for sharing a photo in my app. My app will have one UIImageView with some image and one button for sharing the image. As soon as I click on the button I should get the list of social networking apps installed on my iPhone and I should be able to share the image on selecting any one of them as shown in the figure below.
Try ShareKit (https://github.com/ShareKit)
In my iphone app, i'd like to add the option to "Gift" the app.
Basically I like to add a button which pops up the username to whom i want to gift.
Is this possible?
As far as i know this functionality is part of the App Store and there is no API to provide that functionality in-app.
CheersShai
The best you can do is make the "gift" button open up the app store pointing to the app's page (which is still useful, IMO).
Once you have the web URL for your app, tell your UIApplication to open it and the user will land in the App Store app:
How to link to apps on the app store
Make sure you use the itms-apps:// hint below the accepted answer or you'll wind up with a double redirect which is annoying.
How can I launch the iPhone settings app from my own app? For example, like the screen shot I got from twitter app below:
I turned off the network, and the twitter shows me a network error alert. But in the alert view, they implement a button "Settings". When I press the button, it brings the iPhone settings app up.
So I am curious on if there any methods can be called to do this?
Thanks in advance.
I don't believe so. This dialog is provided by Apple when data is not available for an app that has set Wifi as a requirement in its info plist.
Typically you would need to use custom URL schemes to access other Apple apps, but settings is not available and not part of this list.
Example:
http://wiki.akosma.com/IPhone_URL_Schemes
http://software-security.sans.org/blog/2010/11/08/insecure-handling-url-schemes-apples-ios/
We are trying to create a custom browser app for iPhone. In this app we would like to be able to allow the user to click on a link labeled "Add to Homescreen" just like Safari browser does and have our custom browser add the link/icon to the homescreen (just a web app link/url).
Is this possible and if so where do we look to figure out how to do it?
Thanks!
please check "App Store Review Guidelines.
it says
10.4 Apps that create alternate desktop/home screen environments or simulate multi-app widget experiences will be rejected,
thanks.
Does webkit have access to the camera API on the iphone? What about other phones? I want to build a mobile website that enables users to click on a button that opens the camera, ask if you want to take a new picture or user an existing one (assume the former), take a picture, confirm the picture is good, then be routed back to website where the new picture is uploaded. is this possible? many thanks!
At this time, this is not possible. You can, however, use a toolkit such as PhoneGap to acheive this.