-1

Recently I've started working on a website that is targeted at mobile web-browsers(iOS, 3DS, DSi, Android, etc). I would like to make an app on iTunes to go with this website. Problem is, I have no idea where to start or if it's even possible with my particular coding knowledge.

Can I write iTunes apps with HTML, CSS, PHP, etc., or do you have to know more complicated types of code? And if I can do it with web-code, do I need some kind of license to publish to the app store? How does this all work?

Thanks in advance!

SLEDGE
  • 63
  • 1
  • 7

2 Answers2

1

You cannot write iOS apps (I believe this is what you mean by iTunes) in PHP.

http://developer.apple.com/library/ios/referencelibrary/GettingStarted/RoadMapiOS/chapters/Introduction.html

GordonsBeard
  • 636
  • 4
  • 14
  • Thanks for that link, Exactly what I needed! Do you know if you **have** to enroll in the "iOS Developer Program" to do it? Or does that just make it easier? – SLEDGE Feb 27 '13 at 01:40
1

If you're talking about using a server backend to deliver content from PHP to a user client written in HTML/Javascript, this is very easy to do using iOS. You can use UIWebKit to display HTML and execute Javascript code. If you want cross-language support between Obj-C and JS, Objective-C can talk to Javascript using:

[UIWebView stringByEvaluatingJavaScriptFromString:(NSString *)];

for Javascript talking to Objective C, this can be accomplished using delegates (specifically UIWebViewDelegate) which is detailed here.

Jonathan Howard
  • 216
  • 1
  • 10