Sunday, October 27, 2013

Choose networking API for ios application implementation

There are three networking API types available to implement the network communication function for ios apps.

Foundation API: This is the objective C API, it provides a set of high level NS classes to handle the network connection. This should be your first choice as it is the easiest way to send and receive the data between server and request.  The related document is "URL Loading System Programming Guide"

Core Foundation API: This is a set a C APIs from core foundation framework. These APIs include similar functions as Foundation classes, but provide more control over the network behavior, such as overriding the proxy settings. It should be used if the application cannot use objective C, or the application needs to override the proxy settings on device. The related document is "CFNetwork Programming Guide"

Socket API: This is lower level network C APIs, it should only be used if the application implements its own network protocol other than Http(s) or Ftp. It is discouraged to be used in ios app because it does not activate the cellular radio. The related document is "Networking Programming Topics"

Note for network security testing, the behavior is different when testing on ios simulator or real device. If a certificate is installed on ios 7 simuator system by drag and drop a cert on simulator, the cert is available when querying the application keychain. However, on real device, the certificate installed by configuration profile is not visible when application querying its keychain certificate.

8 comments:


  1. The IOS is a best platform which provides great servicing and development of personalized enterprise app. Go with Ios application development training in Chennai to get indepth knowledge about IOS and its related application.

    ReplyDelete
  2. Site Galleria is a Web development company in Bangalore. It provides other services such as Mobile App Development Services for consumer-facing and corporate environments. We also provide Ecommerce web development services, Digital Marketing and SEO Services. We have a team of experienced SEO professionals who will understand your business and create a strategy to fulfil your commercial objectives. Site Galleria is also recognized as best Digital Marketing company in Bangalore.

    Site Galleria has launched its product called Examin, an online exam software to conduct online examinations, EduInPro - Professional certification training platform, LiveChatSupport - A complete help desk software having FAQ Software, Ticket Management Software, Live Chat box and more.

    Site Galleria also provides Ecommerce web development services across the world. has been delivering custom designed websites, mobile application and is still the leading Website Designing Company in Bangalore. Site Galleria combines technical expertise, proven methodologies, and business domain knowledge of 150+ skilled professionals to deliver high-quality solutions to maintain its reputation as the best Web Development Company in India.

    Services Offered by Site Galleria:
    Web Designing and Development
    iOS App Development
    Android App Development
    SEO Services
    Digital Marketing Services
    PHP Website Development
    Web Hosting and Domain Registration
    CMS and E-commerce Website Development
    Affiliate Marketing Service

    Site Galleria Contact Details:
    #7, 2nd Main, 3rd Phase, JP NAGAR,
    Bangalore-560078
    Email: info@sitegalleria.com
    Phone: 8095942111
    Website: www.sitegalleria.com

    ReplyDelete
  3. Site Galleria is a Web development company in Bangalore It provides other services such as Mobile App Development Services for consumer-facing and corporate environments. We also provide Ecommerce web development services, Digital Marketing and SEO Services. We have a team of experienced SEO professionals who will understand your business and create a strategy to fulfil your commercial objectives. Site Galleria is also recognized as best Digital Marketing company in Bangalore

    ReplyDelete
  4. Nice Blog. This is information is very helpful. We provides services Best Mobile App Development Companies in Bangalore

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete