I want to control the iphone device programmatically.
I mean,when user want to switch off the phone one alert message will come.it will
ask the password then only the operation will work.
when user delete the app from the his/her device one alert will come and ask the
password for the security reasons.
what type of the frame works required for handling the power button as well as the app
control on the device.
I mean,when user want to switch off the phone one alert message will come.it will ask the password then only the operation will work.
You can't
when user delete the app from the his/her device one alert will come and ask the password for the security reasons.
You can't.
But you could use Apple's Configurator to configure iOS devices with profiles of you company. This way the user won't be able to uninstall the app.
The Apple configurator can do lots of other things as well. Think about setting up restrictions, accounts, password, security and other things on the device.
There are even Over The Air Updates possible of you use a Mobile Device Management Server or Service
Related
In my application I am accessing phone contact of iPhone so it will ask first time to allow access,but if user will click on "Don't allow" than application will not be able to access phone contact.
I know that in iOS 6.0 there is a option of privacy in setting where I can give permission to access phone contact to my application.
But I couldn't find this kind of tab or setting in iOS 5 or lower,Please inform me where can I give permission to my application to access phone contacts.
-Thanks in advance
In fact, this permission level is introduced in ios6. This one you can't find iOS5. And in iOS6 if user gave Don't Allow at first time, you can change that settings from the Settings App in the iOS.
Privacy Settings
To find your privacy settings, just tap the Settings app to launch it and then scroll down to Privacy. Tap it.
On the privacy screen, you'll see the elements of your iPhone that contain personal information that apps can gain access to.
(like Location Services,Contacts,Calendars and Reminders,Photos). From here you can change the access level.
Hope this helps.
We provide advertising capabilities to iPhone app customers, where they can advertise apps to millions of users on social network, and stand out among large number of apps in app store.
Now, to prove the ROI, we also want to provide statistics of how many users actually installed the app using our advertisements on social network.
My question is:
How do I verify whether user installed an app (when user clicks on advertisement and we take user to App Store (on mobile device) or itunes page (on PC/Mac) )
Is there a way to integrate with developer's interface to get this information?
Thanks in advance.
This is a broad question and there are some simple solutions which may require some work. Apple provides you no feedback for when an app is installed. Assuming you are storing the click of the ad on a server you will need to match to that click with something you send up when the app is opened for the first time.
(if the ad is shown in a native app on the phone) You can send up a unique key when the click happens and also send that same unique key when the app opens for the first time and match them on the server. This key can be a hashed mac address or something you save to the UIPasteboard. This requires integration on the side of your clients app because they will need to send a http request to you when the app launches.
If the social network is web based then your best bet is to match on IP address which isn't perfect but can give you a high percentage of accuracy.
I guess I'm assuming you are hosting the ads though. If you are not then you will have to rely on what the ad networks give you and many of them can provide some form of install tracking.
Well, you can always look at that persons phone and check if your app is present there :P
Just kidding.
You have some ways to get information such as these.
If you have registration in your app, you can monitor the userInfo, along with the UDID.
You can setup some webservice calls on applicationDidFinishLaunching for the first time events (using NSUserDefaults key to save the first time info) and use that.
Check out FLURRY for data analytics in your app. This is an awesome service, and allows you to track your users and how they interact with your app. I would recommend this !
Most ad networks have conversion tracking capabilities, but once you click an ad from the web and go to iTunes, all hope is lost tracking a conversion.
I guess you'd be able to track a conversion if you require the user to provide information (like an email address) before directing them to the appstore then requiring them to input that same email once the app is opened.
I want to avoid user registration in my app, and to identity my user by purchased app.
If someone purchase app on his iPhone, and with the same Apple ID download this app on other device, I want to use the same settings and content on this devices.
Is posible to use identifiers like AppleID (without entering in input field by user)?
I found similar question but UniqueIdentifier is unique only for physical device, not for user.
No. Apple does not give an app access to the user's Apple ID without the user's involvement. And for good reason.
I don't think you should outsmart the user. You can't assert that the user will want the same settings on another device. For instance I manage all my family iphones and download apps for them, all of them have their own accounts in apps and like different preferences. That's why it's the best to allow users to create accounts and sing in. This way user has a clear understanding what he/she is doing.
Is there a way to send a rating to the app store from within my app without opening iTunes or the AppStore or leaving my app?
This question is not a duplicate of this question: App Store Review Button or its myriad duplicates. I know how to set up an alertView that prompts the user to rate the app and then opens the AppStore to the correct page for the user to give a rating and/or write a review.
What I would prefer to do is to pop up a view with five stars so that when the user selects a star, it and all the stars to its left are highlighted (done that). Then, if the user clicks a button entitled "Submit", the rating will be submitted to the AppStore, but the user will stay in my app. I suppose that Apple will pop up a password request, similar to what happens when updating apps. That's fine, so long as it doesn't cause the user to leave the app.
I realize that this will require an internet connection, and I know how to test for connectivity and the like, so I'm not concerned with that aspect.
Does anyone have a solution for how to achieve this?
You cannot rate an app programmatically, from outside the app store. If it were possible, lots of developers would take advantage of it and would rate their apps with 5 stars without the users noticing which would defeat the purpose of a rating system. Even if a password dialog would pop up, a lot of users would not understand why it pops up and simply enter their passwords.
The iPhone app I'm writing has an option in the SETTING page: "ask for password when launching this app". (As a security measure.)
If the user types in the correct password... the app runs.
If the user types in the wrong password... the app needs to immediately exit.
There isn't any kind of "immediately exit this app" in any framework (that I can find).
What is the app-store legal way to do this?
http://developer.apple.com/library/ios/#qa/qa2008/qa1561.html
There is no API provided for gracefully terminating an iPhone application. Under the iPhone OS, the user presses the Home button to close applications. Should your application have conditions in which it cannot provide its intended function, the recommended approach is to display an alert for the user that indicates the nature of the problem and possible actions the user could take - turning on WiFi, enabling Location Services, etc. Allow the user to terminate the application at their own discretion.
Just display a screen that says "The password you entered is invalid." Not sure why you wouldn't allow them to try again, though - I'd find being made to relaunch the app each time I make a typo quite frustrating.
There is none. Applications are not supposed to exit. What you can do, however, is what an application I wrote that needed network access does: present a UIAlertView with no buttons so that the user is forced to quit the app (press the home screen button).
Just keep in mind that with iOS 4.0 and multitasking, you’ll have to give the user another opportunity to enter the password if the application is put into the background and then restarted.
You can use
exit(0);
although not recommended as explained by others.