What are the wise and allowed ways to add advertisement to iPhone App? - iphone

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.

Related

Iphone application using webview

I've created a web application using asp.net. I customized it form mobile(jQuery Mobile) .
I created an iphone application that has a web view that shows the website.
Is this will be applied by Apple to publish this application???
Regards,
Moayyad
If the only purpose of the app is showing the webview with the website, and it does absolutely nothing else, then it will most likely be rejected. However, if showing the website is just a small part of its functionality, and it does some other useful things as well, then using a webview for displaying your own website is OK, as far as I know.
Note, however, that I/we can only make assumptions and guesses. Nobody except Apple knows what exactly will happen to your app - there are numerous cases when an app was rejected for a feature which another approved app had, so there are inconsistencies in the AppStore approval policy of Apple. Don't expect anything.
I don't think so. They prefer use of HTML5 in webapp. Try to review the Apple guidelines for building web app.

Display on Webpage Number of iPhone app downloads

I would like to put on a webpage how many downloads of an iPhone app have happened.
I would like this to be automatic. By the way, I built the app.
Is this possible? Is there a JSON REST API I should know about?
Thanks!
This needs to be an enterprise application, hosted on your website. If the iPhone app is in the Itunes Store, this is not possible.
If it is on your website, then making a counter is pretty easy. See this Stackoverflow post.
You can of course find the number of downloads of your app in Itunes Connect for your personal app, but this would be of no use to an automatic counter.
There is also a way to roughly estimate the amount of downloads based on the application rank. See this paper (d_iPad=9,525*rank^(-0.903) d_iPhone=52,511*rank^(-0.944)), although the methods might change based on the number of apps in the App store.

Custom banner advertisment on iPhone/iPad application

Is this allowed by Apple to put a custom sponsor banner like an advertisement in an application developed by myself ?
Sure, why not? The iAd network only gives you a fast and easy implementation for bannering and such. But there are many other parties who provide mobile bannering or you can even use your own banner system. As long as the content of the banners don't conflict with the App store guidelines (pornography and such)
Certainly. If you include the url to the iTunes page for the app you can even send the user to the advertised app from within your new app.
I think you can.
You can happily use 3rd party services like http://www.flurry.com/ to pull in custom adverts.
You don't have to use Apple's iAd: http://advertising.apple.com/
You could write your own system to show your own specific advert.

iPhone app - Review guidelines - Contest rules

i've just had my iPhone app rejected on the 20.2 statement of the Review Guidelines:
Official rules for sweepstakes and contests, must be presented in the app and make it clear that Apple is not a sponsor or involved in the activity in any manner
Now, I have a problem. In my app I will have more than one contest, even if all based on the same ground rules. Can I put these rules in the app (like in a UITextField) taking them dynamically form a server? In this manner I could specify, for exemple, the specific period of time each contest would last without having to chose them right now... Do you think that this would be accepted or I have to put those rules directly in the bundle?
Thank you
it would definitely be accepted...
but, a web view would be better than a text field... open an html hosted on your server in the web view. You can add rules and declaration that apple is not involved in any way in that html and change it whenever you want... with html you'd be able to add images (or even videos .. HTML5?)...
you can also include a default html in your app which would open when theres no connectivity...
In way you have already done you are able to violate apple guidelines at any moment.
Consider updating your app instead of downloading contests from server.

Update iPhone app info without going through apple

i was wondering, i have a little experience making iPhone apps but no coding background in anything and was wondering.... Is there a way to update your iPhone app with new text, pictures, colors, links, etc. without manually doing it from Xcode then having to get the new version approved by apple.
I was hoping to be able to update it from possibly from my website. Any easy way to do this? Preferably the easiest solution. Thanks in advance
There is, but you have to design the application to do it from the start. Instead of reading from the app itself, the app reads from a content management system (CMS) or even just a text file stored on your website. Many apps work this way, but you will need to design the app with this in mind.
For the amount of things you need updated, I would create a iPhone optimized version of your website and in your app, all you would need is a web view that takes the user to your website. So to change content, you could just change your website and the user will think that the app is getting updated. One thing to keep in mind though, if the user doesn't have internet connection or if there internet is slow, the site my not show up at all or be very slow to respond and load. Hope this helps.