Explain the architecture of iOS.
iOS works in a Layered structure. iOS Architecture comprises four layers, each of which presents a programming framework for developing applications that operate on top of the hardware. The layers between the Application Layer and the Hardware Layer will enhance communication. A lower-level layer provides the services that all applications need, while an upper-level layer (or high-level layer) provides graphics and interface-related services.

