| Intelligent mobile phone develops fast with wireless access network capacity, open operating system and touch-screen operation sense characteristics, has become an indispensable part of daily life.Apple’s huge success on iOS operating system, making applications based on iOS platform grow fast. With the rapid development of mobile Internet technology, the demand of mobile network application becomes more and more. Therefore, the research and implementation of the general architecture suited to the network application based on iOS platform has strong practical significance.Firstly this paper introduces the establishment of Xcode development environment and the related tools, analysis the related technologies of the iOS application development. Then this paper designs the system architecture and the whole process of mobile network application based on iOS. And also designs and implements resource loading, touch screen processing, collision handling, loading and playing of audio, data processing and other functions. Besides, this paper implements the interface of the common framework and sprites module.The network part first introduces the basic principle of network communication, and then researches the iOS mobile network application, finally implements high score and chatting function. High score uses HTTP protocol to make a user upload score and get his ranking, its corresponding Web server uses a database for managing users’ score statistics. Network chatting uses Socket protocol to implement user’s input, message display, message reception and message processing functions, what’s more, it implements a multi-chat between mobile users.Finally, the test method of application is introduced and explained in the paper. The application use unit testing, integration testing, system testing and network testing methods to test. System testing includes interface and performance test. Mobile network application has been fully tested in iOS device of different resolution. The results show that the application can display and run on iOS devices friendly. |