iOS, iPadOS, and visionOS help ensure runtime security by using a “sandbox,” declared entitlements, and Address Space Layout Randomization (ASLR).| Apple Support
Apple devices help prevent apps from accessing a user’s personal information without permission using various techniques including Data Vault.| Apple Support
macOS offers the Gatekeeper technology and runtime protection to help ensure that only trusted software runs on a user’s Mac.| Apple Support
On devices with iOS, iPadOS, tvOS, watchOS, and visionOS, Apple offers app security through such things as mandatory code signing, strict developer sign-in, and more.| Apple Support
Apple’s operating systems use their purpose-built silicon-based hardware capabilities to help prevent exploitation as the system runs.| Apple Support
Develop system extensions that enhance user security.| Apple Developer Documentation