How can an iOS app provide a ringtone? [duplicate] - iphone

This question already has an answer here:
Set ringtone in iPhone SDK [closed]
(1 answer)
Closed 9 years ago.
We have a restaurant customer who wants a ringtone with their app for users that plays burger chewing sounds for example. How can we do this?
someone told me iOS apps can't set a ringtone but I have seen a dozen ringtone apps on the App Store. What is the procedure to supply a user with a ringtone?

You can provide the user with sounds that they can add to their ringtone library, just like dozens of apps that do this. However you are not allowed to modify the user's selected ringtone, they have to do it themselves.

Related

Updating the App icon like Calendar app [duplicate]

This question already has answers here:
Dynamic iPhone App icons?
(4 answers)
Closed 9 years ago.
I'm working on an app where I want the app icon to be updated every month, same way the iOS calendar app is updated everyday.
I guess if this would work it would change to another image that is stored in the app?
Is this possible to do? Been doing some googling but weren't really able to find the answer.
No this is not possible, the app bundle is readonly and there for you can not change the app icon.
You will have to update the app every month the change the icon.
As rckoenes stated it is not possible, and you can read more information about what are the things which can be seen/modifiable run-time for a given running app:
https://developer.apple.com/library/mac/documentation/AppKit/Reference/NSRunningApplication_Class/Reference/Reference.html#//apple_ref/occ/instp/NSRunningApplication/icon
NSRunningApplication is for modify and/or read information on running apps, and unfortunately app icon is read-only.
icon
Returns the icon for the receiver’s application. (read-only)
#property(readonly) NSImage *icon

How can I reference an app that's not on the app store yet? [duplicate]

This question already has an answer here:
how can you get the app ID for my iPhone application before I submit it to Apple?
(1 answer)
Closed 9 years ago.
I have a free and pro version of my application. Inside of my app I have an area that talks about the pro version and I would like to have a button that links to it. Is it possible to do that before the app is on the app store? I just want that button to link directly to the pro version on the store.
I know it sound's like an obvious answer, no, but I don't know if there is some special reference link that you can get prior to submitting an app on the store.
Go to iTunes Connect => Manage your apps => select your app => under links: View in App Store . This link will be your direct link to your app.

Lock Iphone Programmatically [duplicate]

This question already has an answer here:
How to lock the iPhone screen programmatically? [duplicate]
(1 answer)
Closed 9 years ago.
I want to lock my iphone programmatically means i am using app and app has button say local iphone. when i will pass this button, my app will go in background and iphone lock screen will appear.
If you want to do this so, Apple never approve this, your app must be jailbreak. you can do this by calling Private framework on your project. you can use GraphicsServices.framework. note , this GraphicsServices.framework is a private framework. Apple never accept your app. By calling GSEventLockDevice() method you can lock your Iphone Device easily. This GSEventLockDevice() resides in the GSEvent.h. hope this one helps .

Test App on my IPhone already have apple account [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Create provisioning profile in iphone application
i developed my iphone app and i want to test it on my IPhone. i have the account of dev.apple so no need to register. i just want to login with my account. what process i will perform for the getting liencense? im confused how i can do this?
if you want to test your application on real iPhone device then your should check below tutorial
Deploying iPhone Apps to Real Devices
Wei-Meng Lee has described complete procedure step by step in easy way.
let me know if you get any trouble in this i have done!!
You can easily search for that. There is nothing for confusion. Go through this link for enrolling your paid developer account and get licence and certificates

Is there a way to merge an iPhone and an iPad app (available in the app store as separate apps) in to 1 universal app [duplicate]

This question already has an answer here:
Closed 11 years ago.
Possible Duplicate:
Merging existing iPhone and iPad app ids into a single universal app id
I know how to make the project an universal binary and if def for the different devices my problem comes from the app store. Both of the apps are already available for sale.
-The apps are paid and I need to allow the users of the iPad to be able to download the iPhone version.
-or ideally i will be able to merge the two apps and be left with 1 app only.
-I know i could just delete one of the apps and make the other universal but what happens to the users who bought the other one.
-Also i know i could make both of the apps universal but in this way i duplicate app store content and i don't want to do that.
Does anyone knows other solutions?
Thanks in advance for any reply.
Short and simple. The answer is, no.
I'm affraid you will have to make that universal app.