When the iOS application starts, the UIApplicationMain function will create a single instance of a UIApplication. This single instance maintains a FIFO queue for event distribution. When the system detects a touch event, it will send the event to the current singleton application to distribute. The distribution is divided into three processes.
1. Problem. The company performs normal login operations on the HTTPS server (port 443) ( https://ip1:443/ ), then the data file upload is processed on port 666 ( https://ip1:666/ ). The server verifies and saves sessions in the cookie after successful login at https://ip1:443/, but then upload the file to the port 666 (https://ip1:666), and …
Performance is especially important for iOS applications, However, due to the limitations of iOS devices, it is sometimes difficult to perform well. This article will just give you some advice about how to make iOS app performance better.