I've noticed that the icon belonging to the Calendar app on the iPhone updates to show the latest day. Is there anything in the SDK that will let me do this in my apps?
It's not possible for third-party apps, unfortunately.
I've never seen this in any documentation, pretty sure it can only use the static icon.png file that is put in the ipa package. It would be an awesome feature though, I would recommend creating a feature request for it on https://bugreport.apple.com/. I specifically wish the weather app would update with your local weather for the icon.
Related
Is it possible to programmatically get access to the icon of other apps installed on an iPhone?
For example: if I need Instagram's icon, is it possible to display it in my app by accessing the icon in the Instagram bundle?
You're not allowed to access anything in other app bundles, but you can find the icons on the web if you know the URL. The icon images are in the app store page, which can be reached by (for example) here. The URL is subject to change, so saving a copy to your own app bundle would be the best way to ensure access to them.
http://a3.mzstatic.com/us/r1000/060/Purple/v4/76/94/e2/7694e29c-3060-9f8e-0135-cbeea67ec3af/mzl.qmyfwfsq.175x175-75.jpg
No you have to find the icon if you want to use it.
Nevertheless, you have an instagram-sdk for iOs. Maybe you should look at this.
You'll need to get the icon somewhere else. If it's specifically Instagram you can get it from their SDK, but for the mostpart, you'll need to find it on your own.
As far as I know you'll have to keep a set of icons in your own app, which you can show to the user at a certain point. But I'm sure you cannot access the icon of an app installed on the phone like that!
i'm currently wondering how to add more localizations to my PhoneGap App on the App Store. So it is already deployed, and in App Store it shows under Languages, right under the Icon "English, Spanish" but I never changed any configs or so to acheive this. I found in my xCode-project /App_NAME/Resources a en.lproj and es.lproj folder with Localisation.strings.
The standard way I found so far would be to do this.
But for some Reason those folder I create never appear in xCode. What am I doing wrong, and why can't I add more of these ominous XX.lproj-folders?
I'm totally stuck.
I can do javascript localisations for the app itsself but without this app-store languages I can't get my meta-data translated...
Any experience highly appreciated!
the best way is to do it from javascript since you're using PhoneGap.
retrieve the device/userAgent language (or locale, or simply ask the user for a preferred language) and then edit the content accordingly.
If you want to localize app store meta data, your app, or your marketing content there are tools out there now to speed the process such as TraductoPro, which also has built-in human translation ordering services. It even automates or 'macronizes' your code, making the xcode strings localizable. It's a Mac app, simple to use.
I'm learning iOS programming. I was wondering if there is any way to show the icons of all the running apps in the phone. I know how to get a list of apps that are running currently, but is it possible to access their icons?
If not, what is the best way to do this? Crawl the appstore for icons and store it in the app?
As far as I know there is no API for getting the current running apps in iOS (but there is something like this for Android).
If you want to show only the currently running app icons, how will crawling appstore help?
If you cannot do it directly through some API trickery, how about a sideways workaround? If you know the names of the apps that are running, you could build a process that grabs the app icons through the iTunes Store Search API (using NSData's initWithContentsOfURL: method (docs), or with NSURLConnection and its delegates).
It might be a bit convoluted, but is probably the most straightforward way of getting the icon of any app that might be running.
I have tried to grab app icons using the API and I make it!
Take an example of app yelp, the premise is you get the buddleid of this app, which you can refer to Finding list of installed apps on iphone
And https://itunes.apple.com/lookup?bundleId=com.yelp.yelpiphone
helps to get the information in the form of json. Use the value for key "artworkUrl60" to get the icon of yelp
I will be publishing an App in a few days. Initially I don't want to add advertisements, but can change my mind anytime, so I've thought this. Add a WebView to application and set its image to a dynamic web content. If no ads; I will display a simple logo, but when ads are available, replace the content with them. So there will be no modification to iPhone compiled binary.
Do you think it is allowed by Apple, and a good approach?
If you follow that approach, you will need to at least explain to Apple when you submit the app for review that ads may be enabled via a webservice.
Apple won't like it if you don't tell them that you might modify the apps feature set or behaviour after its approval.
You should be OK as long as you tell them about it.
I have an idea to use the apps on my iphone as a list for a different way to launch the program. But I have no idea if I can see the apps in something I can display? Is this possible? If it is possible, can I launch the listed app from my app? What do I need to access to get this done?
There is no way using the official SDK to enumerate the list of applications the user has installed.
Unofficially, with a jailbroken phone you can check the contents of the applications folder.
It is true there is no specific way to do this with the normal SDK. However if specific apps you had used URL schemes you can invoke them programatically. Google maps, mail, safari, sms have it. Any application can choose to implement their own custom one. This obviously doesn't help with any random app but if you have specific apps your targeting you might be able to integrate that way.