# coregraphics

Published articles for coregraphics.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Have an older iPhone or iPad? Apple has a security update for you

DevFeed: [Have an older iPhone or iPad? Apple has a security update for you](<https://devfeed.tech/articles/have-an-older-iphone-or-ipad-apple-has-a-security-update-for-you-106288.md>)

Original publisher: [Read original article](<https://www.malwarebytes.com/blog/bugs/2026/10/have-an-older-iphone-or-ipad-apple-has-a-security-update-for-you>)

Author: Pieter Arntz

Published: 2026-10-29T11:03:18Z

Content type: news

Language: en

Sources: [Malwarebytes](<https://devfeed.tech/sources/malwarebytes.md>)

Topics: [iphone](<https://devfeed.tech/topics/iphone.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [known exploitable vulnerabilities](<https://devfeed.tech/topics/known-exploitable-vulnerabilities.md>), [ipad](<https://devfeed.tech/topics/ipad.md>), [Security](<https://devfeed.tech/topics/security.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [apple](<https://devfeed.tech/tags/apple.md>), [attacks](<https://devfeed.tech/tags/attacks.md>), [bugs](<https://devfeed.tech/tags/bugs.md>), [coregraphics](<https://devfeed.tech/tags/coregraphics.md>), [cve-2026-86950](<https://devfeed.tech/tags/cve-2026-86950.md>), [exploited](<https://devfeed.tech/tags/exploited.md>), [generation](<https://devfeed.tech/tags/generation.md>), [ipad](<https://devfeed.tech/tags/ipad.md>), [iphone](<https://devfeed.tech/tags/iphone.md>), [max](<https://devfeed.tech/tags/max.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [news](<https://devfeed.tech/tags/news.md>), [security](<https://devfeed.tech/tags/security.md>), [security-update](<https://devfeed.tech/tags/security-update.md>), [targeted-attacks](<https://devfeed.tech/tags/targeted-attacks.md>), [update](<https://devfeed.tech/tags/update.md>), [xr](<https://devfeed.tech/tags/xr.md>)

### AI overview

Apple backported a fix for CoreGraphics vulnerability CVE-2026-86950 to iOS 18.7.11, covering older devices that cannot run iOS 26, including iPhone XS, XS Max, XR, and seventh-generation iPad. The flaw is an out-of-bounds write that could allow arbitrary code execution when processing a maliciously crafted file. Apple says it is aware of a report that the issue may have been exploited in highly sophisticated attacks against specific targets on earlier iOS versions. To check for an iPhone or iPad update, open Settings > General > Software Update; the excerpt also recommends restarting after updating and considering Lockdown Mode for people who may be targeted by sophisticated spyware.

### Source excerpt

Apple has backported a fix for a CoreGraphics flaw reportedly exploited in targeted attacks to the iPhone XS, XS Max and XR, and seventh-generation iPad.

## Apple Backports Fix for Exploited CoreGraphics Flaw to Older iPhones and iPads

DevFeed: [Apple Backports Fix for Exploited CoreGraphics Flaw to Older iPhones and iPads](<https://devfeed.tech/articles/apple-backports-fix-for-exploited-coregraphics-flaw-to-older-iphones-and-ipads-102448.md>)

Original publisher: [Read original article](<https://thehackernews.com/2026/10/apple-backports-fix-for-exploited.html>)

Author: The Hacker News

Published: 2026-10-27T13:59:09Z

Content type: news

Language: en

Sources: [Cyber Newsroom](<https://devfeed.tech/sources/cyber-newsroom.md>)

Topics: [known exploitable vulnerabilities](<https://devfeed.tech/topics/known-exploitable-vulnerabilities.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [macOS](<https://devfeed.tech/topics/macos.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [app](<https://devfeed.tech/tags/app.md>), [apple](<https://devfeed.tech/tags/apple.md>), [article](<https://devfeed.tech/tags/article.md>), [attacks](<https://devfeed.tech/tags/attacks.md>), [backports](<https://devfeed.tech/tags/backports.md>), [coregraphics](<https://devfeed.tech/tags/coregraphics.md>), [cve](<https://devfeed.tech/tags/cve.md>), [cve-2026-86950](<https://devfeed.tech/tags/cve-2026-86950.md>), [cvss](<https://devfeed.tech/tags/cvss.md>), [cvss-score](<https://devfeed.tech/tags/cvss-score.md>), [cyber](<https://devfeed.tech/tags/cyber.md>), [cyber-attacks](<https://devfeed.tech/tags/cyber-attacks.md>), [devices](<https://devfeed.tech/tags/devices.md>), [exploited](<https://devfeed.tech/tags/exploited.md>), [has](<https://devfeed.tech/tags/has.md>), [mobile-security](<https://devfeed.tech/tags/mobile-security.md>), [operating-system-security](<https://devfeed.tech/tags/operating-system-security.md>), [privacy](<https://devfeed.tech/tags/privacy.md>), [real-world](<https://devfeed.tech/tags/real-world.md>), [security](<https://devfeed.tech/tags/security.md>), [software-security](<https://devfeed.tech/tags/software-security.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>)

### AI overview

Apple extended the fix for actively exploited CoreGraphics flaw CVE-2026-86950 to iOS 18.7.11 and iPadOS 18.7.11. The flaw is an out-of-bounds write that could enable arbitrary code execution when a maliciously crafted file is processed; Apple says exploitation targeted specific individuals. The updates support listed older iPhones and iPads, including iPhone XS, XS Max, XR and specified iPad generations. They also fix an Audio issue that could expose sensitive information and a CoreMedia access flaw that could let a malicious app use the camera without permission. The excerpt also reports broader Apple platform releases with hundreds of fixes, including an Apple Intelligence authorization flaw addressed through improved entitlement checks.

### Source excerpt

Apple Backports Fix for Exploited CoreGraphics Flaw to Older iPhones and iPads Apple on Monday backported fixes for a high-severity security flaw that was exploited in real-world cyber attacks to older devices. The vulnerability, tracked as CVE-2026-86950 (CVSS score: 8.8), is a ... Read more Published Date: Oct 27, 2026 (4 hours, 57 minutes ago) Vulnerabilities has been mentioned in this article. CVE-2026-86990 CVE-2026-86987 CVE-2026-86950 CVE-2026-65339

## iOS, macOS 27.2 Patch 286 Bugs; Fix for Exploited Flaw Backported to iOS 18

DevFeed: [iOS, macOS 27.2 Patch 286 Bugs; Fix for Exploited Flaw Backported to iOS 18](<https://devfeed.tech/articles/ios-macos-27-2-patch-286-bugs-fix-for-exploited-flaw-backported-to-ios-18-102100.md>)

Original publisher: [Read original article](<https://www.securityweek.com/ios-macos-27-2-patch-286-bugs-fix-for-exploited-flaw-backported-to-ios-18/>)

Author: Eduard Kovacs

Published: 2026-10-27T11:49:57Z

Content type: news

Language: en

Sources: [SecurityWeek](<https://devfeed.tech/sources/securityweek.md>)

Topics: [iOS](<https://devfeed.tech/topics/ios.md>), [macOS](<https://devfeed.tech/topics/macos.md>), [known exploitable vulnerabilities](<https://devfeed.tech/topics/known-exploitable-vulnerabilities.md>), [bugfixes](<https://devfeed.tech/topics/bugfixes.md>)

Tags: [access-controls](<https://devfeed.tech/tags/access-controls.md>), [addition](<https://devfeed.tech/tags/addition.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-risks](<https://devfeed.tech/tags/ai-risks.md>), [ai-slop](<https://devfeed.tech/tags/ai-slop.md>), [also](<https://devfeed.tech/tags/also.md>), [apple](<https://devfeed.tech/tags/apple.md>), [bugs](<https://devfeed.tech/tags/bugs.md>), [coregraphics](<https://devfeed.tech/tags/coregraphics.md>), [exploited](<https://devfeed.tech/tags/exploited.md>), [featured](<https://devfeed.tech/tags/featured.md>), [first](<https://devfeed.tech/tags/first.md>), [ios](<https://devfeed.tech/tags/ios.md>), [ios-18](<https://devfeed.tech/tags/ios-18.md>), [macos](<https://devfeed.tech/tags/macos.md>), [macos-27](<https://devfeed.tech/tags/macos-27.md>), [mobile-wireless](<https://devfeed.tech/tags/mobile-wireless.md>), [patch](<https://devfeed.tech/tags/patch.md>), [patched](<https://devfeed.tech/tags/patched.md>), [patches](<https://devfeed.tech/tags/patches.md>), [post](<https://devfeed.tech/tags/post.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>), [zero-day](<https://devfeed.tech/tags/zero-day.md>)

### AI overview

Apple's iOS and macOS 27.2 updates address 286 vulnerabilities across the two systems, with roughly 140 flaws shared. iOS and iPadOS 27.2 fix 163 vulnerabilities, including memory corruption bugs and issues that could expose data or bypass privacy protections. macOS Golden Gate 27.2 fixes 263, including privilege escalation, sandbox, Gatekeeper, and remotely exploitable sharing and SMB flaws. Apple also backported a fix for the exploited CoreGraphics zero-day CVE-2026-86950 to iOS and iPadOS 18.7.11, which address three vulnerabilities. Apple described the zero-day as used in an "extremely sophisticated attack"; public details of the attacks were not available. The article says iOS and macOS 27 do not appear to be affected.

### Source excerpt

Apple patched 286 vulnerabilities in iOS and macOS 27.2 and brought the fix for an exploited CoreGraphics zero-day to older iPhones. The post iOS, macOS 27.2 Patch 286 Bugs; Fix for Exploited Flaw Backported to iOS 18 appeared first on SecurityWeek.

## Apple backports CoreGraphics zero-day patches to older iPhones

DevFeed: [Apple backports CoreGraphics zero-day patches to older iPhones](<https://devfeed.tech/articles/apple-backports-coregraphics-zero-day-patches-to-older-iphones-102041.md>)

Original publisher: [Read original article](<https://www.bleepingcomputer.com/news/apple/apple-backports-coregraphics-zero-day-patches-to-older-iphones/>)

Author: Sergiu Gatlan

Published: 2026-10-27T10:36:12Z

Content type: news

Language: en

Sources: [BleepingComputer](<https://devfeed.tech/sources/bleepingcomputer.md>)

Topics: [patches](<https://devfeed.tech/topics/patches.md>), [Security](<https://devfeed.tech/topics/security.md>), [known exploitable vulnerabilities](<https://devfeed.tech/topics/known-exploitable-vulnerabilities.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [iphone](<https://devfeed.tech/topics/iphone.md>), [ipad](<https://devfeed.tech/topics/ipad.md>), [Memory Safety](<https://devfeed.tech/topics/memory-safety.md>), [macOS](<https://devfeed.tech/topics/macos.md>), [tvOS](<https://devfeed.tech/topics/tvos.md>), [watchOS](<https://devfeed.tech/topics/watchos.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [apple](<https://devfeed.tech/tags/apple.md>), [attacks](<https://devfeed.tech/tags/attacks.md>), [backports](<https://devfeed.tech/tags/backports.md>), [code-execution](<https://devfeed.tech/tags/code-execution.md>), [computer-help](<https://devfeed.tech/tags/computer-help.md>), [computers](<https://devfeed.tech/tags/computers.md>), [coregraphics](<https://devfeed.tech/tags/coregraphics.md>), [cve-2026-86950](<https://devfeed.tech/tags/cve-2026-86950.md>), [exploit](<https://devfeed.tech/tags/exploit.md>), [exploited](<https://devfeed.tech/tags/exploited.md>), [ios](<https://devfeed.tech/tags/ios.md>), [ipad](<https://devfeed.tech/tags/ipad.md>), [ipados](<https://devfeed.tech/tags/ipados.md>), [iphone](<https://devfeed.tech/tags/iphone.md>), [linux](<https://devfeed.tech/tags/linux.md>), [mac](<https://devfeed.tech/tags/mac.md>), [malware](<https://devfeed.tech/tags/malware.md>), [malware-removal](<https://devfeed.tech/tags/malware-removal.md>), [out-of-bounds-write](<https://devfeed.tech/tags/out-of-bounds-write.md>), [patched](<https://devfeed.tech/tags/patched.md>), [patches](<https://devfeed.tech/tags/patches.md>), [security](<https://devfeed.tech/tags/security.md>), [spyware](<https://devfeed.tech/tags/spyware.md>), [support](<https://devfeed.tech/tags/support.md>), [targeted-attacks](<https://devfeed.tech/tags/targeted-attacks.md>), [tech-support](<https://devfeed.tech/tags/tech-support.md>), [technical-support](<https://devfeed.tech/tags/technical-support.md>), [virus](<https://devfeed.tech/tags/virus.md>), [virus-removal](<https://devfeed.tech/tags/virus-removal.md>), [windows](<https://devfeed.tech/tags/windows.md>), [zero-day](<https://devfeed.tech/tags/zero-day.md>)

### AI overview

Apple backported fixes for CVE-2026-86950, a CoreGraphics out-of-bounds write that may allow arbitrary code execution when a crafted file is processed. Apple says it may have been exploited in highly sophisticated, targeted attacks against specific individuals on iOS versions before iOS 27; the fix improves bounds checking. The patches extend protection to iPhone XS, XS Max and XR, iPad 7th generation, iPad Air 4th generation and later, iPad 9th generation and later, and iPad mini 6th generation and later. Apple had patched newer operating system versions in September. The excerpt recommends installing the backported patches and notes a separate dyld zero-day, CVE-2026-20700, was patched in February.

### Source excerpt

Apple has backported security patches released last month to older iPhones and iPads, addressing a zero-day bug exploited in "extremely sophisticated" targeted attacks on iOS devices. [...]

## Apple patches CoreGraphics zero-day already exploited in targeted attacks

DevFeed: [Apple patches CoreGraphics zero-day already exploited in targeted attacks](<https://devfeed.tech/articles/apple-patches-coregraphics-zero-day-already-exploited-in-targeted-attacks-62033.md>)

Original publisher: [Read original article](<https://www.theregister.com/security/2026/09/29/apple-patches-coregraphics-zero-day-already-exploited-in-targeted-attacks/5299721>)

Author: Carly Page

Published: 2026-09-29T14:30:00Z

Content type: news

Language: en

Sources: [theregister](<https://devfeed.tech/sources/www-theregister-com-articles.md>)

Topics: [CVE-2026-41456](<https://devfeed.tech/topics/cve-2026-41456.md>), [Cybersecurity](<https://devfeed.tech/topics/cybersecurity.md>)

Tags: [apple](<https://devfeed.tech/tags/apple.md>), [attacks](<https://devfeed.tech/tags/attacks.md>), [coregraphics](<https://devfeed.tech/tags/coregraphics.md>), [exploited](<https://devfeed.tech/tags/exploited.md>), [ios](<https://devfeed.tech/tags/ios.md>), [meta](<https://devfeed.tech/tags/meta.md>), [security](<https://devfeed.tech/tags/security.md>), [targeted-attacks](<https://devfeed.tech/tags/targeted-attacks.md>), [zero-day](<https://devfeed.tech/tags/zero-day.md>)

### AI overview

Apple has patched a CoreGraphics zero-day that was already being exploited in targeted attacks. The flaw could allow arbitrary code execution through a maliciously crafted file.

### Source excerpt

Meta-spotted flaw could hand attackers arbitrary code execution via a maliciously crafted file

## Apple patches CoreGraphics zero-day flaw exploited in attacks

DevFeed: [Apple patches CoreGraphics zero-day flaw exploited in attacks](<https://devfeed.tech/articles/apple-patches-coregraphics-zero-day-flaw-exploited-in-attacks-61680.md>)

Original publisher: [Read original article](<https://www.bleepingcomputer.com/news/security/apple-patches-coregraphics-zero-day-flaw-exploited-in-attacks/>)

Author: Sergiu Gatlan

Published: 2026-09-29T07:33:12Z

Content type: news

Language: en

Sources: [BleepingComputer](<https://devfeed.tech/sources/bleepingcomputer.md>)

Topics: [Cybersecurity](<https://devfeed.tech/topics/cybersecurity.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [CVE-2026-55780](<https://devfeed.tech/topics/cve-2026-55780.md>), [Exploit](<https://devfeed.tech/topics/exploit.md>)

Tags: [apple](<https://devfeed.tech/tags/apple.md>), [computer-help](<https://devfeed.tech/tags/computer-help.md>), [computer-security](<https://devfeed.tech/tags/computer-security.md>), [computers](<https://devfeed.tech/tags/computers.md>), [coregraphics](<https://devfeed.tech/tags/coregraphics.md>), [cve](<https://devfeed.tech/tags/cve.md>), [exploited](<https://devfeed.tech/tags/exploited.md>), [fixed](<https://devfeed.tech/tags/fixed.md>), [generation](<https://devfeed.tech/tags/generation.md>), [infosec](<https://devfeed.tech/tags/infosec.md>), [infosec-computer-security](<https://devfeed.tech/tags/infosec-computer-security.md>), [ios](<https://devfeed.tech/tags/ios.md>), [ios-26](<https://devfeed.tech/tags/ios-26.md>), [iphone](<https://devfeed.tech/tags/iphone.md>), [linux](<https://devfeed.tech/tags/linux.md>), [mac](<https://devfeed.tech/tags/mac.md>), [macos](<https://devfeed.tech/tags/macos.md>), [malware](<https://devfeed.tech/tags/malware.md>), [malware-removal](<https://devfeed.tech/tags/malware-removal.md>), [product-security](<https://devfeed.tech/tags/product-security.md>), [security](<https://devfeed.tech/tags/security.md>), [spyware](<https://devfeed.tech/tags/spyware.md>), [support](<https://devfeed.tech/tags/support.md>), [tech-support](<https://devfeed.tech/tags/tech-support.md>), [technical-support](<https://devfeed.tech/tags/technical-support.md>), [virus](<https://devfeed.tech/tags/virus.md>), [virus-removal](<https://devfeed.tech/tags/virus-removal.md>), [windows](<https://devfeed.tech/tags/windows.md>), [zero-day](<https://devfeed.tech/tags/zero-day.md>)

### AI overview

Apple patched CVE-2026-86950, an out-of-bounds write vulnerability in CoreGraphics that may have enabled arbitrary code execution when processing a malicious file. The flaw was reportedly exploited in highly targeted attacks against specific individuals. Apple addressed it with improved bounds checking in updates for iOS, iPadOS, and macOS.

### Source excerpt

Apple released security updates to fix a zero-day vulnerability exploited in "extremely sophisticated" targeted attacks on iOS devices. [...]

## Drawing icons using Core Graphics

DevFeed: [Drawing icons using Core Graphics](<https://devfeed.tech/articles/drawing-icons-using-core-graphics-35096.md>)

Original publisher: [Read original article](<https://engineroom.teamwork.com/drawing-icons-using-core-graphics-fed30458f2ed?source=rss----cea4eecd5960---4>)

Author: Diego Freniche

Published: 2020-10-20T09:14:19Z

Content type: tutorial

Language: en

Sources: [Teamwork](<https://devfeed.tech/sources/teamwork.md>)

Topics: [Graphics](<https://devfeed.tech/topics/graphics.md>), [Icons](<https://devfeed.tech/topics/icons.md>), [Learning](<https://devfeed.tech/topics/learning.md>), [Icon font](<https://devfeed.tech/topics/icon-font.md>)

Tags: [core](<https://devfeed.tech/tags/core.md>), [coregraphics](<https://devfeed.tech/tags/coregraphics.md>), [drawing](<https://devfeed.tech/tags/drawing.md>), [graphics](<https://devfeed.tech/tags/graphics.md>), [icons](<https://devfeed.tech/tags/icons.md>), [ios](<https://devfeed.tech/tags/ios.md>), [playground](<https://devfeed.tech/tags/playground.md>), [swift](<https://devfeed.tech/tags/swift.md>), [swift-playgrounds](<https://devfeed.tech/tags/swift-playgrounds.md>), [uikit](<https://devfeed.tech/tags/uikit.md>)

### AI overview

The tutorial recreates a scalable notebook icon in a UIKit Playground using Core Graphics. It builds a UIView with a configurable frame and color, then draws the notebook spine and two title lines as rectangles in draw(_:). Proportional dimensions let the spine scale with the icon; clipping keeps it within the view's rounded outline. A helper draws rounded rectangles with paths. The excerpt notes that the main view uses a fixed 15-point corner radius, which may look less suitable at larger sizes.

### Source excerpt

Photo by Harpal Singh on Unsplash Sometimes you need to add an icon to your iOS app, The designer sends you that plain, simple icon. It can be a bitmap-based icon, like a PNG. Problem with those is they get blurry if zoomed in too much. So we can use a vector-based icon, like a Font Icon or a PDF. These are vector based, contains the instructions to draw the icon, not the icon itself. This way you can stretch the icon as much as you want, and you'll never see "big pixels" in your app. But what happens when you have a screen capture of your icon, but can't get any of these options? Well, this means it's time to dust-off your Core Graphics Skills and draw the icon by yourself. Won't even mention the horrible alternative of taking a screenshot and cutting the icon. Don't do it. I've done it and it's, indeed, horrible. Instead of telling you what Core Graphics is and how it works, we'll write code to solve a problem, so you can experiment and learn by doing. This is my preferred way of learning a new framework / library / language: try things, read a bit, try more stuff, read more seriously, watch videos, GOTO 1. The Notebook Icon The icon we'll try to recreate is this one: Represents a notebook with a background color that can change, a darker same color spine and a couple lines to represent the Notebook title. Create a new Playground We'll do all our coding inside a Playground. So we can get instant feedback. In the end, it will look like this: But for now let's create a Playground called Icons. It will just have one Playground page. Remove everything inside that page and just add: https://medium.com/media/b3fbc322df52879b716e63ffdfa765e0/href We'll use the first import to draw Views and use Core Graphics (it's included by UIKit). PlaygroundSupport will help us show nice previews of our work inside the Playground. Planning our work Looking at that notebook icon we can see it's composed of 4 rectangles: a big rectangle that forms the Notebook itself a spine rectangle a

## Building the new SoundCloud iOS application -- Part II: Waveform rendering

DevFeed: [Building the new SoundCloud iOS application -- Part II: Waveform rendering](<https://devfeed.tech/articles/building-the-new-soundcloud-ios-application-part-ii-waveform-rendering-2068.md>)

Original publisher: [Read original article](<https://developers.soundcloud.com/blog//ios-waveform-rendering>)

Published: 2014-09-15T00:00:00Z

Content type: article

Language: en

Sources: [SoundCloud Backstage](<https://devfeed.tech/sources/soundcloud-backstage-blog.md>)

Topics: [iOS](<https://devfeed.tech/topics/ios.md>), [GPU rendering](<https://devfeed.tech/topics/gpu-rendering.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>), [Software Engineering](<https://devfeed.tech/topics/software-engineering.md>), [pixel](<https://devfeed.tech/topics/pixel.md>)

Tags: [alpha](<https://devfeed.tech/tags/alpha.md>), [amplitude](<https://devfeed.tech/tags/amplitude.md>), [animation](<https://devfeed.tech/tags/animation.md>), [animations](<https://devfeed.tech/tags/animations.md>), [api](<https://devfeed.tech/tags/api.md>), [app](<https://devfeed.tech/tags/app.md>), [apple](<https://devfeed.tech/tags/apple.md>), [blending](<https://devfeed.tech/tags/blending.md>), [callback](<https://devfeed.tech/tags/callback.md>), [clip](<https://devfeed.tech/tags/clip.md>), [code](<https://devfeed.tech/tags/code.md>), [color](<https://devfeed.tech/tags/color.md>), [coregraphics](<https://devfeed.tech/tags/coregraphics.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [cpu-performance](<https://devfeed.tech/tags/cpu-performance.md>), [cpu-time](<https://devfeed.tech/tags/cpu-time.md>), [design](<https://devfeed.tech/tags/design.md>), [drawing](<https://devfeed.tech/tags/drawing.md>), [interactive](<https://devfeed.tech/tags/interactive.md>), [ios](<https://devfeed.tech/tags/ios.md>), [mobile](<https://devfeed.tech/tags/mobile.md>)

### AI overview

The initial SoundCloud iOS waveform renderer redrew samples in `drawRect:` at 60 updates per second; on iPhone 4, frame rate fell from 17 to 10 FPS, with 90% of CPU time spent drawing. Rendering the waveform once and using it as a gradient mask raised performance to 60 FPS and cut CPU use to about 10%, but used about 50% of the GPU. A linear `UIView` animation reduced CPU use to nearly zero, though fractional mask positions blurred waveform edges. Discrete Core Animation keyframes kept motion pixel-aligned and reduced work for long tracks. The final approach drew played and unplayed waveforms separately in clipped views and animated their bounds, avoiding repeated drawing and masking; it achieved 60 FPS with under 20% GPU use. The article recommends profiling each bottleneck and notes Instruments and blended-layer visualization as useful diagnostics.

### Source excerpt

When we rebuilt our iOS app, the player was the core focus. The interactive waveform was at the center of the design. It was important both...