Initial Development Policy on the iPhone

I'm just getting into development with Apple on iOS and I'm curious about the history.
When the iPhone was first launched in 2007, Apple didn't have an App Store in place. Perhaps it wasn't in the cards, or perhaps it wasn't ready, but Apple wasn't planning on allowing developers to build native apps for the iPhone. At least not initially. Instead, Apple encouraged developers to create applications for it by building web-based apps that would be accessible through the Safari browser on the iPhone. The results of this can be seen when you go to a "mobile" version of a website.
As we all know, Apple eventually opened up development for native apps when they released the SDK for developers the following year.
What I want to know is, why did Apple not want developers creating native apps for the iPhone? Was it for security reasons? Was Apple not ready for it (no business model/system in place)? Was Apple just overly protective of it's iOS platform/product? Or did Apple imagine a future where people were going to develop rich, cross-platform, mobile web-based apps, perhaps with HTML5, so they didn't bother with allowing developers to create native apps?
Cheers,
kp

I have a similar problem, though not quite the same.
It seems like my initial page load ("http://www.a.com/index.html") is caching fine, but then all the resources referenced from that html are not cached. I've tried a bunch of different avenues and it seems like the requests for these objects could be easily handled by the delegates for resource loading in WebView, but these delegates are not available in UIWebView...
Does anyone have a simple solution for getting UIWebView to properly cache a page and all the resoureces referenced by that page?

Similar Messages

  • Anyone know what a "mgt development" profile on the iphone is

    anyone know what a "mgt development" profile on the iphone is

    It means that iMovie is expecting to find video frames in a certain clip, within  a certain event, in a certain location on your drive, and they are not there.
    I would check to see if you have moved any of these clips using the Finder, or have renamed any of these clips.

  • UIWebView Ignores Cache Policy on the iPhone but works on the Simulator

    I'm using the following line of code to retrieve a web site in a UIWebView
    request = [NSURLRequest requestWithURL:myURL cachePolicy: NSURLRequestReturnCacheDataElseLoad timeoutInterval:1000];
    on the simulator it does the correct thing, requests just a header to see if the content was modified (304 response).
    On the iPhone it only returns 200 response no matter how many times i make the request although it should be returning 304 after the first response. anybody encounter this before?
    Thanks in advance. -Isaac
    Message was edited by: imosquea

    I have a similar problem, though not quite the same.
    It seems like my initial page load ("http://www.a.com/index.html") is caching fine, but then all the resources referenced from that html are not cached. I've tried a bunch of different avenues and it seems like the requests for these objects could be easily handled by the delegates for resource loading in WebView, but these delegates are not available in UIWebView...
    Does anyone have a simple solution for getting UIWebView to properly cache a page and all the resoureces referenced by that page?

  • Configuring the iPhone and your environment for wireless corporate email

    I'm posting this as a top level thread, because I'm certain that there are others out there, who like me, are trying to figure this out.
    Configuring the iPhone for Enterprise Use
    With Apple’s release of the iPhone, IT organizations are presented with an interesting challenge. Senior execs, gadget heads, and technoratti are all flocking to this device, heralded as the be all and end all of smartphone telecommunications technology. As these devices begin to flood into our organizations, we are met with the challenge to ‘make it work’.
    After much explaining that the iPhone is not intended for Enterprise integration, and many discussions surrounding the technical feasibility of bringing said devices into the fold, and being the resident Mac and Linux head with an iPhone in hand, I decided to embark on the mission of making one ‘work’. I succeeded in part, however it’s not the kind of ‘work’ that is going to be viable for most end users.
    First of all, it’s important to understand that the email client for the iPhone is a modified version of Mac’s Mail program. Not the best client in the world, but it does support Exchange integration. It also does external email sources, such as Yahoo and gMail, very well. For my interest though, I’m focusing on the Exchange integration functionality, as that is just about everyone’s corporate standard.
    Bringing this task to fruition requires some understanding about the limitations of the iPhone, as well as some of its current quirks. Wireless802.11x, EDGE, VPN and Mail are all components necessary to provide a serviceable solution for mobile email access, and each of these things has some peculiarities that don’t appear to be fully worked out by Apple at this time.
    For instance, within my organization, we have a secured wireless connectivity option available within our building; however, the SSID of this network is not broadcast, for the obvious reasons. SO, connecting the iPhone to it is a manual process of defining the network, and automatic reconnection seems to be very hit or miss, so it becomes far less of an option for any form of direct network access to your Exchange environment. (As an example, I had to redefine that network, on the iPhone, at least half a dozen times during this process.)
    The other components have equally quirky issues, and I will discuss the how’s to get around them below.
    In coordinating this into a cohesive plan however, I will break this into three sections;
    1. Wireless and EDGE connectivity
    2. VPN access to your network
    3. Connecting to Exchange
    So, without further ado;
    Wireless and EDGE Connectivity
    The wireless capabilities of the iPhone are, on the surface at least, excellent. It connects seamlessly to unsecured networks, offers the option of prompted or unprompted automatic connectivity, and is capable of 802.11G performance. Not bad for such a small package. However, it is very limited in the forms of secure network access it supports. These are, to quote Apple’s website; (and my iPhone)
    WEP Password
    WEP hex or ASCII
    WPA (personal)
    WPA2 (personal)
    Now, due to the obvious security problems in implementing WEP security, it’s likely that any network you run into is going to be WPA or WPA2. The iPhone ONLY supports the personal versions of these protocols, so be aware of this going into the situation. If you’re not connecting to your work or school wireless, and you’re entering the information correctly, then it’s probably because they have the Enterprise version of one of the protocols enabled. If that is the case, then you’re either hunting for unsecured hotspots, or else depending on EDGE.
    In my case, I did have access to a WPA2 (Personal) enabled wireless signal to connect to my internal network. I thought my problem was half solved! I defined the connection, the wireless capability of the phone worked perfectly, and I was connected. I was wrong. Apparently, and judging from the Mac forums I’m not alone in this, the iPhone does not do a very good job of RE-connecting to a secured wireless network. It does an even worse job, when this is coupled with the fact that it doesn’t do a very good job reconnecting to a wireless network with an unpublished SSID.
    After much fiddling and research into this, I determined that this simply was not the way to go, and I abandoned the idea. I wasn’t about to compromise my network security in order to get this silly phone working! So, that left me with either unsecured WiFi, or EDGE.
    Either one of these connects pretty seamlessly, and gives me a relatively decent Internet connection. There are some issues being reported of the iPhone swapping between EDGE and WiFi for not apparent reason, but that said, it can still be made to work.
    Now that I had this connection outside of my network, I obviously had to consider options for getting a secured connection into my network, which of course leads us to;
    VPN Access Into Your Network
    Being that this device was touted as the ‘real internet’ I was very excited to see if I could achieve this connection through my SSL VPN appliance. To make a long story short, I could not. Because Apple’s idea of the ‘Real Internet’ apparently does not include those wacky concepts like Java support, this proved to be impossible. My Apple cohorts will scream that it does support JavaScript, but we all know that that and 2 bucks will get you a small coffee at Starbucks… and not much more.
    (The iPhone also does not support Flash, but that’s a topic for another conversation. I know, how could they leave that out? I’m amazed too, but then Steve Jobs always has been a bit too arrogant for his own good… I mean what does he expect, we’re all going to rewrite everything into QuickTime??? Please.)
    Since that option didn’t work, I was left with the wide selection of two possibilities provided within the iPhone software. Either, a PPTP or L2TP VPN tunnel.
    We went ahead and configured a PPTP connection on one of our Cisco routers in order to test this. It didn’t work. I couldn’t connect to it. Tried and tried. Nada. SOOOO, we said OK, and configured a L2TP connection on one of our Cisco routers, with similar results.
    Figuring that this was something in the config, we called Cisco, and did the technical support dance with them for several days, trying one thing after another to get this connection to actually work. Nothing helped, and it never worked using either protocol. Then, I noticed an obscure article somewhere on some website that said something to the effect that getting one of these tunnels to work from the iPhone to Cisco was nigh on impossible.
    About the same time, my senior network guy said screw it, let’s put this on a Microsoft server. And so we did. Now, this is interesting in it’s own right, because configuring out of the box L2TP or PPTP on a Microsoft server results in a default authentication method of Windows Authentication. This does not work for the iPhone, because it has no idea what to do with the Windows security token it receives. So, you authenticate, and then are immediately dropped due to an inability to communicate with the PPP server.
    Fortunately, we (as do most organizations) have a Radius server. We selected Radius authentication, configured both sides of the Radius authentication setup properly, and launched the PPTP tunnel…. AND…. EUREKA!!! The iPhone’s VPN software connected, authenticated, got an IP, and I was on the network! Well, no.
    After about 2 seconds, I realized that while I did indeed have a connection, I couldn’t do anything with it. Couldn’t even browse to an internal site via IP address. The connection was up, the connection was working, the connection was useless.
    So, we decided to give L2TP a shot. Configured it pretty much identically to the PPTP setup, used Radius, launched the iPhone client, and finally, after many days of screwing around, it worked. Now all I needed was to get my email working, so I started working on;
    Connecting to Exchange
    In the Mail program on the iPhone, the first time you launch it, you’re presented with the ability to configure an email source. However on subsequent or additional accounts, you must go under Settings, Mail to get to this functionality.
    Going into the Mail configuration, I selected an additional account, the account type is, of course, Exchange. The configuration components are pretty obvious, however some things of note are;
    Do NOT include your domain information in the User Name field
    For all Host Names, use the fully qualified domain name of the server, or else IP
    You WILL need to have SMTP enabled somewhere in order to send email
    Anyway, I set all this up, and nothing happened. It said that my server was not responding. Did a little research, and it turns out that the only way to connect to Exchange is through an IMAP4 connection, and just in case you didn’t know, IMAP4 is disabled by default, so you have to enable and configure it.
    Went onto the Exchange server, set the service to Auto, Started the listener, and finally, at long last, EUREKA! I finally had Corporate email on my iPhone, connecting securely, and not sending anything plain text anywhere. Hooray!
    Now for the problems with this solution;
    First of all, it depends upon VPN access into your environment, something that you may or may not be comfortable with. One good thing is that the iPhone does prompt for password to reconnect, and will tie the continuity of the VPN connection into the general phone lock security, such that an inability to provide the appropriate access code to a locked phone results in the VPN not being accessible.
    The VPN of course is dependant upon a reliable network connection. I’ve noticed that it’s somewhat graceful in switching between WiFi and EDGE, however it’s not totally graceful, and you can experience some hinky things, like being able to send and not receive, or the mail client saying ‘Connecting’ for about 5 minutes before it figures things out.
    The best cure for this is to simply stop and restart the VPN connection. Note that when you reconnect, the first attempt will prompt you for a numeric password, this is meaningless unless you have the device lock turned on. Just enter anything. (I think this is another bug) THEN it will re-prompt you for your real VPN password.
    This solution for email delivery is obviously dependant upon the VPN connection being active. I’ve noticed that at times the iPhone will disconnect the VPN (probably when service switching) and not bother to mention it. When that happens, of course the VPN must be restarted.
    For the lazy, this is an inconvenient solution because while it would appear that the iPhone will cache the VPN password, in fact it will not. That means that each re-launch requires that you re-enter your password. Not terrible for me, but I could see it being very tedious for the average corporate user.
    The OSX Mail client has several little deficiencies, which may or may not impact your use of the device in this manner. For instance, if you have subfolders defined for your inbox, and server side rules to move mail into them, then you will not see any synchronization of that mail until you actually select the subfolder. Also, since there is such poor management of attachments and downloads, moving anything around via email on this device is nigh on impossible.
    EDGE access to your corporate email, via a VPN, is a bit sloooooow. It works, it’s certainly fast enough for my purposes, but it’s not the slick quick access that we’ve all become accustomed to with Blackberry and Good devices. The lack of 3G support becomes a very noticeable shortcoming here.
    (Why Apply didn’t simply partner with Good Technologies to crank out a client for this thing, I’ll never understand, but I guess you can refer to my comment above about certain people’s arrogance.)
    The biggest problem of all of course is that it’s simply klugey. I hate klugey. But, with the capabilities at this device’s disposal, and given Apple’s ambitious, if a bit idiotic, stance that no third party will develop software for the iPhone, then this is about as good as it’s going to get for now.
    It is my understanding that overseas there is some initiative underway to provide a more seamless Visto or Synchronica integration for enterprise email. However, given Apple’s unbelievably restrictive agreement with ATT regarding this device and the OTA necessity of delivering the client, I seriously doubt if we’ll see this in the near future in the US.
    But I digress, so…
    In Conclusion
    This solution is not for the faint of heart, it doesn’t work all that well, and it has way too many moving parts that are subject to failure. However, I would say that this solution is serviceable for the corporate technology professional who needs email, and really, REALLY wants the other features of the iPhone. (ie, phone whores such as me.) It requires patience, it requires an understanding that this is not a 100% thing, and there definitely needs to be a prebuilt expectation that this device will not serve your email in anything approaching the manner to which you’ve become accustomed.
    As long as all of that is okay though, then go right ahead, set it up, and enjoy!
    The Short Version;
    (I put this at the end because I want everyone to feel my pain!)
    Wireless:
    Use unsecured wireless or EDGE. Secured wireless may be serviceable as long as the SSID is broadcast, but there are known issues with this.
    VPN:
    L2TP, shared secret, running on Microsoft server, with Radius. (May work elsewhere, but doesn’t seem to run on Cisco at all) Accounts enabled for external access.
    Exchange:
    Configure IMAP4 Virtual Server on your Exchange environment, ensure that you have some SMTP resource for outbound email, use fully qualified domain names for all servers (or IP) in the mail config and do not include any domain prefix or suffix for user accounts.
    The BIG Disclaimer at the End
    Please note that all of this is provided ‘as is’. It worked for me, and I hope it works for you. To my knowledge, it’s not endorsed by Apple, and I’m not in the business of providing support for this thing. If it breaks something, if it doesn’t work, or if you simply don’t like it or me, I don’t care. However, if you have a question, and I’m not busy, and I feel like answering, I may lend a hand. You can email me at
    Matthew dot Yotko at mac dot com
    Don’t be surprised or offended if I don’t answer. Also, understand that I don’t check this address every day… Maybe a couple times a week.
    Macbook Pro   Mac OS X (10.4.10)   iphone

    Thanks, now I understand why the wifi keeps dropping. On my personal wireless network, it also seems the distance from the access point is not good compared to my laptop. At work our network & exchange teams don't seem to have the desire to struggle with this "toy" until customers start forcing its adoption. I am using OWA and it works fine over EDGE. I will share your posting with them.
    Thank you again.
    Dell   Windows XP Pro

  • Firefox home for the iPhone sync's initially but, it does not continue to sync after that. Is there something wrong with firefox sync or an issue with my app?

    Once firefox on the computer is closed for the first time after sync is setup it will not longer sync to the iPhone. I have tried deleteing and reading account several times. I refresh the app on iPhone. Nothing will work. One the initial sync is complete. Thats it.

    hello, mozilla has [https://blog.mozilla.org/services/2012/08/31/retiring-firefox-home/ stopped development & further support for firefox home] on ios devices halve a year ago. as an alternative you might want to try the following app & see if it is fixing the issue: https://itunes.apple.com/us/app/bookmarks-on-the-go/id550037184

  • Hi, I upgraded my iphone 4 to iso 5 beta 6, but now it shows "No Service" at top left, and unable to complete your activation. Also tels that this device is not registered as part of the iphone developer programme. How could I fix this problem? Please..?

    Hi, I upgraded my iphone 4 (4.3.3) to iso 5 beta 6, but now it shows "No Service" at top left, and unable to complete your activation. Also tells that "this device is not registered as part of the iphone developer programme." How could I fix this problem? Please help me...,

    I had a similar occurrence with my just activated iPhone 4.
    I had been using the phone for three days when an odd occurrence with voice mail caused me to call tech support. After some discussion they decided to push the activation to my phone (even though I had been using it for three days). When I went to power it back up again I repeatedly got the "no service" notification. I got tech support on a land line and we tried hard reboots and so on. No joy. They told me to take it in to the point of sale and either the SIM card or the phone needed (or both) needed replacing.
    I tried one last hard reboot after dinner and the phone came up with service, but I took it in to the point of sale in the morning and they swapped the SIM card out and I went to a Genius Bar appointment to get the phone checked out. It is supposedly OK, but I am still having some problems when syncing it so I will have to visit the Genius Bar again tomorrow about that. At least I have not experienced the "no service" problem in the roughly 24 hours since the SIM card was replaced. (Fingers crossed)

  • My Iphone 4 will not start up, when i connect it to itunes i says : Activation error This device is not registered as part of the iPhone Developer Program.If you are a member of the Program, please register your device in the iPhone Developer Program Port

    my Iphone 4 will not start up, when i connect it to itunes i says : Activation error This device is not registered as part of the iPhone Developer Program.If you are a member of the Program, please register your device in the iPhone Developer Program Port

    Well, you downloaded a bootleg copy of iOS 7 beta and have installed it on your phone without being a developer. It has bricked your phone and you cannot get help here because doing what you did has voided your warranty. Have a nice day.

  • Can I use the SDK on a PC to develop applications for the iPad, iPhone, etc

    I was thinking about paying the $99 a year to join the developer program because I want to download the SDK and try creating applications for the iPhone and iPad; however, can you download the SDK and use it on a PC or does it require that you have a Mac in order to do development work? The xcode4 and interface builder feature looked rather nice but I didn't know if I were to sign up and download if it would all run on my PC (Windows 7)or not.

    It will not run under windows, and you need an Intel-based Mac running Snow Leopard to use it. Have you looked at the Mac Mini?
    http://store.apple.com/us/browse/home/shopmac/family/macmini?mco=MTQzMDMxODY

  • HT4061 I am receiving an Activation Error and unable to get into my phone.It's asking me to register my phone in the iPhone Developer program however I'm already registered. How do I move forward?

    I am receiving an Activation Error and unable to get into my phone.It's asking me to register my phone in the iPhone Developer program however I'm already registered. How do I move forward?

    Hi, jsgladden. 
    Here is an article I would recommend when experiencing issues activating a device.  The step referring to recovery mode usually resolves the issue.
    iPhone: Troubleshooting activation issues
    http://support.apple.com/kb/TS3424
    To retrieve your data, you will need to restore from backup after processing these steps.  Here is the article that walks you through restoring from either your iCloud or iTunes backup.
    iOS: How to back up and restore your content
    http://support.apple.com/kb/HT1766
    Cheers,
    Jason H.

  • Is there any kind of Apple Company policy that Apple's iPhone can only be repair or service at the place from where the iPhone have bought?

    Hello,
    I'm Chintan from India. I have visited UK for study and brought iPhone 5 for me. I used it for about 16 days and now its started showing the problem of coverage. I mean, it shows "NO SERVICE" at the place of carrier name and tower symbol.
    My query:
    Do Apple have this kind of worthless service provider policy?
    I have visited the local authorized service center and they are not accepting my iPhone 5 and telling me that they can not accept it for repair or service because I have brought it from UK. I have checked my iPhone 5 status on the Apple Site and it is showing full cover of Repair and Service, then why the local Apple Authorized Service Center is not accepting my iPhone 5?
    Is there any kind of Apple Company policy that Apple's iPhone can only be repair or service at the place from where the iPhone have bought?
    Kindly help me out as I'm stuck with the so called APPLE IPHONE 5.
    Looking for the POSITIVE, SUPPORTIVE and HELPFUL reply.
    Thank You

    You should have read the warranty/support terms before you made your purchase. Had you, you would have found that iPhone warranty/support is only valid in the country of original purchase(except for the EU where warranty/support is EU wide). In your case, your warranty/support is only valid in the EU, as you have now found out...after your purchase. And, you are correct, they will not service the phone in India.
    Always been this way with the iPhone.

  • Will updating my iphone 5s from 7.1.2 to 8.2 lock it. my phone was initially locked.my friend brought it from usa.i gave a computer vendor rs 5000 and he said he will factory unlock the iphone.so it was unlocked in this way.its not softwared unlocked

    will updating my iphone 5s from 7.1.2 to 8.2 lock it. my phone was initially locked.my friend brought it from usa.i gave a computer vendor rs 5000 and he said he will factory unlock the iphone.so it was unlocked in this way.its not software unlocked nor it is jailbraked.that vendor said that he will factory unlock it.wat i know is that there are some online sites which take some amount (equal to what i paid 50$ )and officially and factory unlock it
    so can u plz help me regarding this issue
    its working absolutely fine on 7.1.2

    i am from pakistan
    my friend got it unlocked from hyderabad ,there the mobile guy assured us that he will factory unlock it for rs 5000.. he just took the imei number and in 3 days iphone 5s was unlocked. he didnt take the phone so i knew he didnt jailbreak it or did some hacking stuff .. i have the box with me too with all accessories.but my friend doesnt know which carrier to it was locked....as his friend gave it to him from usa
    on reading problems on  net i just stopped the update via wi fi.fearing it will be locked again :/
    but i think its orignal carrieer was At&T

  • How to be sure I am now in the iphone developer program?

    My iphone has not yet arrived, so I am only developing on the simulator for now. But how can you be sure that you are accepted into the developer program? If I am charged the $99 is that a good indication? That is, I should be technically able to distribute my app?
    I also have access to the Program Portal in the iphone dev center. I am all set to go?

    correct. here are some clarifications:
    http://de-compile.blogspot.com/2008/05/for-those-of-you-who-stuck-on-upload.html

  • HT204053 The SIM card that you currently have installed in this iPhone is from a carrier that is not supported under the activation policy that is currently assigned by the activation server. This is not a hardware issue with the iPhone. Please insert ano

    sir have this error so what can i do The SIM card that you currently have installed in this iPhone is from a carrier that is not supported under the activation policy that is currently assigned by the activation server. This is not a hardware issue with the iPhone. Please insert another SIM card from a supported carrier or request that this iPhone be unlocked by your carrier. Please contact Apple for more information.

    It looks like the iPhone is locked to a carrier that is not the one you are trying to use.
    You need to determine which carrier it is locked to and then contact them to see if they are willing to authorise the unlocking of your iPhone.  As ManSinha mentioned, many carriers will only authorised the unlock if requested by the customer who had the contract with them for this iPhone.
    Remember that only the carrier who owns the lock on your Iphone can authorise Apple to unlock the iPhone in their servers.  You need to contact the carrier or have the previous owner of the iPhone request the unlocking.

  • HT1937 the SIM card that you currently have installed in this iPhone is form a carrier that is not supported under the activation policy that is currently assigned by the activation server.this is not a hardware issue with the iphon. please insert another

    the SIM card that you currently have installed in this iPhone is form a carrier that is not supported under the activation policy that is currently assigned by the activation server.this is not a hardware issue with the iphon. please insert another SIM card from supported carrier or request that this iPhone be unlocked by your carrier.

    Similar issue
    here is the description
    I have similar message but for me the Verizon guys said they unlocked it and when I actually connected to iTunes using Verizon sim card and then did the restore as new iphone then everything worked well and at the end i saw the message "Congrats, your iphone is now unlocked" and then I did the set up as new iphone for my kid.
    Once new apple ID was set up, then I removed the verizon SIM and then inserted prepaid t-mobile sim card and after the phone booted up then I got the same message like  above...."not supported"
    What do i do now? I think the phone is unlocked right?
    Also do I need to insert Verizon SIM card and do restore as NEW and this time do not set up the iphone but change the SIM card and then set up or ?
    I am confused and other threads were talking that if you get congrats message then u shd be good to use other SIM cards....please help!!!

  • HT1414 The Sim card that you currently have installed in this iphone is from a carrier that is not supprotedunder the activation policy that is currently assigned by the activation server. this is not a hardware issue with the iphone. please insert anothe

    The Sim card that you currently have installed in this iphone is from a carrier that is not supprotedunder the activation policy that is currently assigned by the activation server. this is not a hardware issue with the iphone. please insert another sim card from a supported carrier or request that this iphone be unlocked by your carrier.please contact apple for more information.

    I have similar message but for me the Verizon guys said they unlocked it and when I actually connected to iTunes using Verizon sim card and then did the restore as new iphone then everything worked well and at the end i saw the message "Congrats, your iphone is now unlocked" and then I did the set up as new iphone for my kid.
    Once new apple ID was set up, then I removed the verizon SIM and then inserted prepaid t-mobile sim card and after the phone booted up then I got the same message like  above...."not supported"
    What do i do now? I think the phone is unlocked right?
    Also do I need to insert Verizon SIM card and do restore as NEW and this time do not set up the iphone but change the SIM card and then set up or ?
    I am confused and other threads were talking that if you get congrats message then u shd be good to use other SIM cards....please help!!!

Maybe you are looking for