Bypassing iOS Safari's Limitations for Smoother Web Interactions
Developers have found a way to bypass iOS Safari's 60 FPS limit, enabling smoother web interactions. This breakthrough could lead to more native-like experiences on mobile devices.
🤖AI ModelsPhoto: Hacker News Front Page
Key points
- Bypassing iOS Safari's 60 FPS limit
- Using compositor and scroll events for smoother interactions
- Achieving up to 90 unique position reads per second
A team of developers has discovered a method to overcome the 60 FPS limitation in iOS Safari, allowing for more seamless web interactions. By leveraging the power of the compositor and cleverly using scroll events, they were able to achieve up to 90 unique position reads per second.
Technical Details
The solution involves using a combination of techniques, including MessageChannel, setTimeout, and requestAnimationFrame, to read scroll positions synchronously and phase-locked to the device's refresh rate. This approach enables the extraction of native bounce, physics, and momentum, which can be applied directly to animations.
The developers encountered several challenges, including dropped positions due to Safari's UI process sending scroll positions one at a time. However, they were able to overcome this limitation by using an empty requestAnimationFrame loop to flush the position without waiting.
Source Hacker News Front Page — rida.dev/blog/bypassing-ios-safari-60-fps-limit ↗
Read next
⚖️Regulation & PolicyICE Expands Surveillance Reach Using Flock Safety Camera Network via Local Police Proxies
US Immigration and Customs Enforcement is increasingly utilizing AI-integrated license plate readers from Flock Safety by routing requests through local police department…
🚀Startups & FundingStartups Showcase Body-Integrated Tech with Smart Lenses and Graphene Bandages
Startups Xpanceo and Grapheal presented next-generation wearable technology at Dubai Future Week, featuring smart contact lenses and graphene-based biosensor bandages des…
🔌Chips & HardwareNvidia CEO Jensen Huang Set for Congressional Hearings on China Ties and Chip Sales
Nvidia CEO Jensen Huang faces a series of closed-door and public congressional hearings this week regarding chip sales and ties to China.
🚀Startups & FundingDating App User Banned After Secretly Recording Dates for AI Analysis
A New York hedge fund manager has been banned from Hinge after using a transcription app and Anthropic's Claude to secretly record and analyze his romantic dates.
⚖️Regulation & PolicyRuneScape Developer Jagex Urges Password Resets Following Security Breach
Millions of RuneScape and Old School RuneScape accounts may have been compromised after unauthorized access exposed player emails, hashed passwords, and authenticator tok…
🏢Big TechAnthropic and OpenAI: how the enterprise AI race has shifted
Enterprise spending estimates and recent product decisions show Anthropic and OpenAI moving toward the same business customers.