Tagged articles

iOS

1046 articles · Page 3 of 11
Sohu Tech Products
Sohu Tech Products
Apr 19, 2023 · Mobile Development

Kotlin Multiplatform Mobile (KMM): Overview, Setup, Architecture, and Build Process

This article provides a comprehensive guide to Kotlin Multiplatform Mobile (KMM), covering its concepts, advantages over other cross‑platform frameworks, detailed setup steps, project structure, Gradle configuration, code examples for shared and platform‑specific modules, and an in‑depth explanation of the Android and iOS compilation pipelines.

AndroidGradleKMM
0 likes · 21 min read
Kotlin Multiplatform Mobile (KMM): Overview, Setup, Architecture, and Build Process
Tuanzi Tech Team
Tuanzi Tech Team
Apr 15, 2023 · Mobile Development

How to Choose the Right WebView and JSBridge for Cross‑Platform Mobile Apps

This guide explains how to improve development efficiency by selecting appropriate cross‑platform technologies such as Uni‑app, Taro, or Kbone combined with JSBridge, outlines suitable scenarios, compares Android and iOS WebView kernels, and provides practical code examples for implementing bidirectional communication.

AndroidJSBridgeiOS
0 likes · 9 min read
How to Choose the Right WebView and JSBridge for Cross‑Platform Mobile Apps
Baidu Geek Talk
Baidu Geek Talk
Apr 10, 2023 · Mobile Development

iOS App Package Size Optimization: Necessity, Metrics, and Technical Solutions

Facing a 420 MB iOS bundle that hurt download conversion, Baidu APP launched a comprehensive size‑optimization project—covering compiler flags, image and resource slimming, code deduplication, and build‑architecture upgrades—that trimmed 50 MB (≈12 %) of the package, boosted conversion rates, and set a benchmark for industry‑wide iOS app size management.

Package AnalysisResource Compressionapp size optimization
0 likes · 14 min read
iOS App Package Size Optimization: Necessity, Metrics, and Technical Solutions
Bilibili Tech
Bilibili Tech
Apr 7, 2023 · Mobile Development

Design and Refactoring of Inline Video Playback in Feed Streams

The article describes a modular refactor of Bilibili’s feed‑stream inline video playback, introducing a central ModuleInlineManager, ViewHandler, ViewFetcher, and an InlineController that encapsulate player logic, eliminate duplicated code, simplify maintenance, and enable flexible feature testing across diverse feed pages.

RefactoringarchitectureiOS
0 likes · 11 min read
Design and Refactoring of Inline Video Playback in Feed Streams
JD Tech
JD Tech
Apr 6, 2023 · Mobile Development

Switchquery: High‑Performance Mobile Configuration Platform with Second‑Level Real‑Time Reach

Switchquery is a high‑performance mobile configuration delivery platform that achieves second‑level real‑time updates through a novel header‑based versioning scheme, eliminating push notifications and long‑lived connections while supporting Android, iOS, and hybrid clients with low cost and high reliability.

ConfigurationbackendiOS
0 likes · 17 min read
Switchquery: High‑Performance Mobile Configuration Platform with Second‑Level Real‑Time Reach
HelloTech
HelloTech
Apr 3, 2023 · Mobile Development

Flutter Upgrade Journey: Null‑Safety Migration, Engine Crash Fixes, and Build Process

The team’s second‑phase Flutter upgrade details why they moved to Flutter 2.x for null‑safety and performance gains, outlines the migration steps and common fixes, describes how they resolved a FlutterEngine destroyContext crash by cherry‑picking a fix, and provides a complete guide to building the iOS engine and gen_snapshot binaries, while previewing future expansion into Flutter Web and cross‑platform front‑ends.

Build ProcessCI/CDDART
0 likes · 13 min read
Flutter Upgrade Journey: Null‑Safety Migration, Engine Crash Fixes, and Build Process
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Apr 3, 2023 · Mobile Development

Implementing System-wide Screen Recording with ReplayKit on iOS

The article explains how to implement iOS system‑wide screen recording using ReplayKit, covering its evolution, extension setup, sample‑buffer handling, communication between host app and extension, user‑friendly activation via RPSystemBroadcastPickerView, privacy‑mode safeguards, memory‑limit management, and practical tips for robust live streaming.

Broadcast ExtensionReplayKitScreen Recording
0 likes · 15 min read
Implementing System-wide Screen Recording with ReplayKit on iOS
Sohu Tech Products
Sohu Tech Products
Mar 29, 2023 · Mobile Development

OpenGLES 2D Lab: Face‑Slimming Photo Editing Demo (Second Edition)

This article presents an iOS OpenGLES 2D experiment that demonstrates a face‑slimming photo‑editing demo, explains the mesh‑grid warping algorithm, shader debugging techniques, perspective and affine transformations, and provides full source code and usage instructions.

Face SlimmingGLSLOpenGLES
0 likes · 9 min read
OpenGLES 2D Lab: Face‑Slimming Photo Editing Demo (Second Edition)
Huolala Tech
Huolala Tech
Mar 21, 2023 · Mobile Development

How Hades Platform Tackles iOS Abort Crashes: A Deep Dive into MetricKit Monitoring

This article explores Hades, the in‑house mobile monitoring platform at Huolala, detailing the challenges of capturing iOS Abort exceptions, evaluating four industry solutions, and describing the final MetricKit‑based implementation, data processing pipeline, observed benefits, and future monitoring strategy.

Abort ExceptionCrash MonitoringMetricKit
0 likes · 19 min read
How Hades Platform Tackles iOS Abort Crashes: A Deep Dive into MetricKit Monitoring
Sohu Tech Products
Sohu Tech Products
Mar 16, 2023 · Mobile Development

Understanding Xcode Project Files and the Xcodeproj Ruby Library

This article explains how Xcode organizes projects through xcworkspace and xcodeproj bundles, details the structure of the project.pbxproj file, describes the role of PBX objects such as PBXFileReference and PBXGroup, and shows how to manipulate Xcode projects programmatically using the Xcodeproj Ruby gem.

Build SystemRubyWorkspace
0 likes · 24 min read
Understanding Xcode Project Files and the Xcodeproj Ruby Library
Soul Technical Team
Soul Technical Team
Mar 14, 2023 · Mobile Development

Memory Optimization and Leak Detection in Flutter iOS Apps: Image Component, PlatformView, IOSurface and Tooling

This article analyzes the high memory consumption of Flutter's Image widget, PlatformView leaks, and IOSurface residues on iOS, then presents concrete solutions such as external texture rendering, empty‑page redraw, engine reset, and a custom Expando‑based memory‑leak detector built with Dart VM Service.

ExpandoFlutterMemory Management
0 likes · 21 min read
Memory Optimization and Leak Detection in Flutter iOS Apps: Image Component, PlatformView, IOSurface and Tooling
Baidu App Technology
Baidu App Technology
Mar 10, 2023 · Mobile Development

How Baidu Cut Its iOS App Size by 50 MB: A Deep Dive into Package Optimization

This article examines why Baidu's super‑app needed a drastic reduction in its iOS package size, outlines the metrics that link bundle size to download conversion, compares the app‑size footprints of major domestic and overseas apps, and details the multi‑layered technical solutions—resource trimming, architecture safeguards, compiler tweaks, image compression, and code slimming—that together saved over 50 MB while preserving functionality.

app size optimizationcompiler optimizationiOS
0 likes · 16 min read
How Baidu Cut Its iOS App Size by 50 MB: A Deep Dive into Package Optimization
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Mar 6, 2023 · Mobile Development

How NetEase Cloud Music Made Objective‑C Components Module‑Ready for Swift Integration

This article details the challenges and step‑by‑step solutions the NetEase Cloud Music iOS team used to modularize legacy Objective‑C libraries, enabling seamless Swift interop through modulemap generation, CocoaPods configuration, and custom build scripts while addressing macro, header, and static‑library issues.

Build SystemCocoaPodsInterop
0 likes · 14 min read
How NetEase Cloud Music Made Objective‑C Components Module‑Ready for Swift Integration
ELab Team
ELab Team
Feb 20, 2023 · Artificial Intelligence

How MegaPortal Brings Stable Diffusion to iOS: A Hands‑On Guide

MegaPortal is an easy‑to‑use AI model loader for Apple devices that lets users configure visual‑block Snippets for tasks such as face‑filtering, Genshin Impact gacha recommendation, and Stable Diffusion image generation, with step‑by‑step tutorials, system requirements, cache clearing, model downloads, and a call for iOS‑dev help.

@snippetAI Model LoaderMegaPortal
0 likes · 20 min read
How MegaPortal Brings Stable Diffusion to iOS: A Hands‑On Guide
HomeTech
HomeTech
Feb 8, 2023 · Mobile Development

Understanding Xcode Workspace and Project Structure

This article explains the architecture of Xcode workspaces and projects, detailing the relationships among workspaces, projects, targets, schemes, and the pbxproj file, and shows how these components can be leveraged for advanced build automation and configuration in iOS development.

ProjectWorkspaceXcode
0 likes · 8 min read
Understanding Xcode Workspace and Project Structure
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Feb 8, 2023 · Mobile Development

Implementing iOS 16 Depth Effect Using Image Segmentation with CoreML and Vision

This guide shows how to recreate iOS 16’s lock‑screen Depth Effect by integrating Apple’s pre‑trained DeeplabV3 CoreML model with Vision, running a VNCoreMLRequest on a resized image in a background thread, converting the output to a binary mask, and overlaying it on the original photo to simulate foreground‑background depth, with code examples and GitHub source.

CoreMLDepth EffectSwift
0 likes · 7 min read
Implementing iOS 16 Depth Effect Using Image Segmentation with CoreML and Vision
Baidu App Technology
Baidu App Technology
Feb 2, 2023 · Fundamentals

Inside iOS: How Mach Virtual Memory and Memory Pressure Work

This article explains the architecture of Mach virtual memory in iOS, details its page‑based management, describes the core data structures and kernel APIs, analyzes the Objective‑C alloc implementation, and walks through the memory‑pressure (Jetsam) mechanism that triggers low‑memory warnings.

MachMemory ManagementiOS
0 likes · 21 min read
Inside iOS: How Mach Virtual Memory and Memory Pressure Work
Alibaba Terminal Technology
Alibaba Terminal Technology
Feb 1, 2023 · Backend Development

How GaiaX’s Cross‑Platform Expression Engine Achieves Fast, Stable UI Rendering

This article explains GaiaX’s cross‑platform expression engine, covering its design, LR(1) grammar‑based parsing, syntax‑tree construction, C++ core implementation, Android JNI and iOS bridge integration, unified data types, performance benchmarks, and how it ensures consistent, high‑performance UI rendering on mobile devices.

AndroidC++Expression Engine
0 likes · 16 min read
How GaiaX’s Cross‑Platform Expression Engine Achieves Fast, Stable UI Rendering
Sohu Tech Products
Sohu Tech Products
Jan 18, 2023 · Mobile Development

iOS OpenGL ES Lab: 2D Smart Danmu (Bullet Comment) – First Episode

This article introduces a practical iOS OpenGL ES tutorial that demonstrates how to implement a 2D smart danmu system by separating foreground and background video layers, modifying IJKPlayer rendering, adding custom shaders, enabling blending, and optionally using CoreImage for face detection.

CoreImageOpenGL ESSmart Danmu
0 likes · 11 min read
iOS OpenGL ES Lab: 2D Smart Danmu (Bullet Comment) – First Episode
Yiche Technology
Yiche Technology
Jan 18, 2023 · Mobile Development

Apple Unlisted App Distribution: Overview, Comparison, and Step-by-Step Guide

This article explains Apple’s newly introduced unlisted app distribution method, compares it with App Store and enterprise distribution, outlines its key characteristics, and provides a detailed step-by-step process for creating, submitting, and requesting an unlisted app link for limited‑audience iOS applications.

App DistributionAppleUnlisted App
0 likes · 5 min read
Apple Unlisted App Distribution: Overview, Comparison, and Step-by-Step Guide
Alibaba Terminal Technology
Alibaba Terminal Technology
Jan 16, 2023 · Mobile Development

How to Extend iOS App Virtual Address Space and Boost Memory Limits

This article explores iOS memory optimization by enabling the 'com.apple.developer.kernel.extended-virtual-addressing' entitlement to expand virtual address space and the 'com.apple.developer.kernel.increased-memory-limit' entitlement to raise memory caps, detailing implementation steps, kernel analysis, test results, and practical implications for app stability.

Memory ManagementVirtual Address Spaceentitlements
0 likes · 11 min read
How to Extend iOS App Virtual Address Space and Boost Memory Limits
21CTO
21CTO
Jan 16, 2023 · Fundamentals

Why Swift’s New Open‑Source Foundation Framework Could Transform iOS Development

Apple has open‑sourced a new Swift‑written Foundation framework that replaces the Objective‑C based version, promising lower conversion overhead, improved performance, and new packages like Foundation Essentials, Internationalization, and ObjC Compatibility, while the community reacts positively and discusses future cross‑platform implications.

AppleFoundationSwift
0 likes · 6 min read
Why Swift’s New Open‑Source Foundation Framework Could Transform iOS Development
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Jan 9, 2023 · Mobile Development

Design and Implementation of a Standardized IM Message Flow Interaction Layer for iOS

The paper presents a customizable, dependency‑injected iOS IM framework that separates message‑flow structure from interaction, defines reusable MessageView components with pluggable size‑strategies and a snapshot cache, and exposes standard service protocols, enabling low‑cost integration, business extensibility, and reduced maintenance across diverse chat scenarios.

Instant MessagingUI designiOS
0 likes · 12 min read
Design and Implementation of a Standardized IM Message Flow Interaction Layer for iOS
Alibaba Terminal Technology
Alibaba Terminal Technology
Jan 5, 2023 · Mobile Development

Why Mobile Trace Is Hard and How OpenTelemetry Solves It

This article explores the challenges of end‑to‑end tracing on mobile apps, explains why issues are hard to reproduce, and presents a four‑step solution using a unified OpenTelemetry standard, automated data linking, performance optimizations, and machine‑learning‑driven root‑cause analysis.

AndroidData CollectionObservability
0 likes · 20 min read
Why Mobile Trace Is Hard and How OpenTelemetry Solves It
Sohu Tech Products
Sohu Tech Products
Jan 4, 2023 · Mobile Development

Optimizing Small QR Code Detection on iOS Using OpenCV and AVFoundation

This article details a method to improve detection and decoding of small QR codes in iOS image previews by combining OpenCV‑based detection with AVFoundation‑based recognition, describing multi‑stage image preprocessing, region‑specific scaling, and code snippets that illustrate the implementation.

OpenCVQR codeiOS
0 likes · 13 min read
Optimizing Small QR Code Detection on iOS Using OpenCV and AVFoundation
Sohu Tech Products
Sohu Tech Products
Dec 28, 2022 · Mobile Development

Practical Guide to iOS App Re‑signing Using xcodebuild

This article explains the iOS code‑signing mechanism, outlines common issues with third‑party re‑signing tools, and provides a step‑by‑step script that leverages Xcode's xcodebuild ‑exportArchive command to reliably re‑sign and export IPA packages for testing.

IPARe‑signingcodesign
0 likes · 9 min read
Practical Guide to iOS App Re‑signing Using xcodebuild
Soul Technical Team
Soul Technical Team
Dec 21, 2022 · Mobile Development

iOS App Package Size Management and LinkMap Analysis

This article explains why iOS app package size matters, outlines optimization and anti‑degradation strategies, describes a custom LinkMap‑based binary analysis tool and resource‑level inspections, and demonstrates how automation and auxiliary features like crash and memory analysis can improve overall mobile development efficiency.

LinkMapToolingiOS
0 likes · 17 min read
iOS App Package Size Management and LinkMap Analysis
Sohu Tech Products
Sohu Tech Products
Dec 14, 2022 · Mobile Development

Adding Home Screen Shortcuts for iOS Apps

This article explains how to add iOS app features as home‑screen shortcuts using URL schemes, detailing two implementation methods—H5 page redirection and Data‑URI local server—along with Swift code examples, configuration steps, and handling of intermediate pages.

AddToHomeScreenHomeScreenShortcutSwift
0 likes · 19 min read
Adding Home Screen Shortcuts for iOS Apps
Sohu Tech Products
Sohu Tech Products
Dec 7, 2022 · Mobile Development

Comprehensive Guide to iOS App Startup Optimization for Sohu Video

This article details a ten‑month iOS startup optimization project for the Sohu Video app, describing measurement methods, ten technical improvements—including dynamic‑to‑static library conversion, load‑method refactoring, binary reordering, and double‑root view architecture—that together reduced launch time by roughly 46% and provides practical code snippets and performance data.

Static LibrariesiOSstartup-optimization
0 likes · 16 min read
Comprehensive Guide to iOS App Startup Optimization for Sohu Video
ELab Team
ELab Team
Dec 6, 2022 · Artificial Intelligence

Mastering CreateML: From Data Prep to Object Detection Models on iOS

This article introduces Apple’s CreateML tool, explains its supported model types, shows how to prepare and augment data, provides a Node.js script for generating synthetic training sets, and walks through training, testing, and integrating an object‑detection model into an iOS app.

CreateMLData AugmentationSwift
0 likes · 17 min read
Mastering CreateML: From Data Prep to Object Detection Models on iOS
Xianyu Technology
Xianyu Technology
Dec 6, 2022 · Mobile Development

iPad Split‑Screen Adaptation and Multi‑Engine Flutter Integration

The article details how Xianyu solved iPad split‑screen challenges by creating a custom UINavigationController subclass to manage dual‑screen price‑comparison and navigation modes, switching to Auto Layout, and implementing a lightweight multi‑engine Flutter architecture that shares isolates and resources while preserving existing navigation logic.

FlutterHybrid AppUI
0 likes · 11 min read
iPad Split‑Screen Adaptation and Multi‑Engine Flutter Integration
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 28, 2022 · Mobile Development

Implementing External Links and Local Data Persistence in SwiftUI using FileManager and CoreData

This chapter demonstrates how to open external web links in the iOS browser using SwiftUI's Link view, and provides a comprehensive guide to local data persistence by employing FileManager with property list files and the CoreData framework for storing, loading, editing, and deleting model data within a SwiftUI app.

CoreDataFileManagerSwiftUI
0 likes · 15 min read
Implementing External Links and Local Data Persistence in SwiftUI using FileManager and CoreData
ByteDance Terminal Technology
ByteDance Terminal Technology
Nov 23, 2022 · Fundamentals

Understanding and Solving Priority Inversion on iOS

This article analyzes a real‑world iOS deadlock caused by priority inversion when a low‑priority thread holds a read‑write lock, explains bounded and unbounded priority inversion, evaluates priority‑ceiling and priority‑inheritance protocols, and demonstrates practical fixes using QoS adjustments, temporary priority boosts, and appropriate lock choices.

LocksPriority InversionQoS
0 likes · 26 min read
Understanding and Solving Priority Inversion on iOS
Baidu Geek Talk
Baidu Geek Talk
Nov 21, 2022 · Mobile Development

How Baidu App Prevents OOM Crashes with Real‑Time Memory Monitoring and Prediction

This article details Baidu's multi‑step memory‑control solution for its iOS app, covering background challenges, real‑time memory monitoring, page‑level memory prediction, water‑level determination, frequency control, proactive degradation, and code examples that together reduce OOM incidents on low‑end devices.

Memory ManagementOOM preventionReal‑time Monitoring
0 likes · 17 min read
How Baidu App Prevents OOM Crashes with Real‑Time Memory Monitoring and Prediction
DaTaobao Tech
DaTaobao Tech
Nov 21, 2022 · Mobile Development

Modular iOS Photo Album Architecture and Implementation

The article describes a modular iOS photo‑album solution that isolates the album as an independent, reusable SDK through a three‑layer architecture—interface, view‑customization, and logic management—implementing reading and change chains, handling iOS 14 privacy, iCloud assets, and multithreaded PhotoKit operations to reduce coupling and maintenance costs.

MVVMModular ArchitecturePhotoKit
0 likes · 13 min read
Modular iOS Photo Album Architecture and Implementation
Sohu Tech Products
Sohu Tech Products
Nov 17, 2022 · Mobile Development

Exploring iOS Componentization

This article introduces iOS componentization using CocoaPods, detailing the drawbacks of manual code copying, explaining the creation of local podspec libraries, configuring source files, resources, access levels, and integration steps, while also covering sub‑specs, resource bundles, and practical code examples for Swift projects.

CocoaPodsComponentizationModularization
0 likes · 26 min read
Exploring iOS Componentization
Inke Technology
Inke Technology
Nov 17, 2022 · Mobile Development

Mastering iOS VoIP: PushKit, CallKit, and CTCarrier Integration Guide

Learn how to build a robust iOS VoIP application by integrating PushKit for VoIP push notifications, CallKit for native call UI, CTCarrier for carrier detection, and essential audio‑video SDK setup, complete with configuration steps, code samples, and best‑practice guidelines.

AudioVideoSDKCTCarrierCallKit
0 likes · 19 min read
Mastering iOS VoIP: PushKit, CallKit, and CTCarrier Integration Guide
JD Retail Technology
JD Retail Technology
Nov 16, 2022 · Mobile Development

Switchquery Configuration Platform: Real‑Time Mobile Feature‑Flag Delivery Architecture and Implementation

The article introduces the Switchquery configuration platform, describing its background, technical principles, real‑time delivery mechanism via HTTP header versioning, system architecture, integration steps for Android and iOS, optimization measures, and case studies demonstrating its impact on high‑traffic events.

AndroidReal-time Deliverybackend gateway
0 likes · 14 min read
Switchquery Configuration Platform: Real‑Time Mobile Feature‑Flag Delivery Architecture and Implementation
Huolala Tech
Huolala Tech
Nov 15, 2022 · Mobile Development

How We Reduced iOS App Launch Time by Up to 99% on Low-End Devices

This article details a multi‑phase approach to dramatically improve iOS app launch performance, especially on low‑end iPhone models, by analyzing slow functions, applying image compression, lazy loading, run‑loop monitoring, and eliminating unnecessary background tasks, achieving launch times under 3 seconds for 99.7% of users.

Objective‑CSwiftiOS
0 likes · 28 min read
How We Reduced iOS App Launch Time by Up to 99% on Low-End Devices
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 14, 2022 · Mobile Development

Building an Add Identity Card Page with SwiftUI

This tutorial walks through designing and implementing an "Add Identity Card" screen in a SwiftUI iOS app, covering UI element priority, state variable declarations, custom platform selector with LazyVGrid, multiline link input, and data binding to persist new cards.

LazyVGridState ManagementSwift
0 likes · 12 min read
Building an Add Identity Card Page with SwiftUI
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 14, 2022 · Mobile Development

Building a SwiftUI Electronic Business Card App (Linkworld) – A Step‑by‑Step Tutorial

This tutorial walks through the design and implementation of a SwiftUI‑based electronic business‑card app called Linkworld, covering project background, MVP analysis, component creation, variable declarations, layout containers (HStack, VStack, ZStack), and previewing multiple cards with full code examples.

Card ViewLayout ContainersSwift
0 likes · 9 min read
Building a SwiftUI Electronic Business Card App (Linkworld) – A Step‑by‑Step Tutorial
Baidu App Technology
Baidu App Technology
Nov 10, 2022 · Mobile Development

How Baidu App Prevents OOM Crashes with Real‑Time Memory Management

The article explains Baidu App's memory‑control solution that monitors real‑time memory usage, predicts page‑level memory growth, defines safe and dangerous memory watermarks, and triggers proactive or reactive actions to avoid OOM crashes on low‑end iOS devices.

JetsamOOM preventionReal‑time Monitoring
0 likes · 18 min read
How Baidu App Prevents OOM Crashes with Real‑Time Memory Management
Huolala Tech
Huolala Tech
Nov 9, 2022 · Mobile Development

Transforming Huolala iOS: Componentized Architecture & Efficient Pod Management

This report details how the Huolala freight iOS client was re‑architected through componentization, systematic pod version control, a new routing framework, and a multi‑repo strategy, resulting in higher development efficiency, reduced version conflicts, and more stable, scalable codebases.

ComponentizationiOSpod management
0 likes · 18 min read
Transforming Huolala iOS: Componentized Architecture & Efficient Pod Management
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Nov 7, 2022 · Mobile Development

Practical Guide to Using OCLint for Static Code Analysis in iOS Projects

This practical guide walks iOS developers through installing OCLint, generating a compilation database, creating custom Clang‑AST rules, optimizing analysis runtime with parallel processing, and interpreting results that uncovered hundreds of performance‑critical issues, demonstrating how static analysis can dramatically improve startup speed.

OCLintStatic Analysisautomation
0 likes · 19 min read
Practical Guide to Using OCLint for Static Code Analysis in iOS Projects
NetEase Yanxuan Technology Product Team
NetEase Yanxuan Technology Product Team
Nov 7, 2022 · Mobile Development

Technical Evolution of the Yanxuan App Home Page: Architecture, Componentization, and Dynamic UI

The Yanxuan app home page has progressed from a layered native architecture using Tangram and TAC to a component‑based system with compile‑time cell registration and asynchronous loading, and finally to a VirtualView‑driven dynamic UI that enables fast, cross‑platform updates, improved performance, and reduced release overhead.

AndroidDynamic UITangram
0 likes · 24 min read
Technical Evolution of the Yanxuan App Home Page: Architecture, Componentization, and Dynamic UI
Sohu Tech Products
Sohu Tech Products
Nov 2, 2022 · Mobile Development

Swift Package Manager (SwiftPM) Practical Guide: Structure, Resources, Linking, and Best Practices

This article provides a detailed, step‑by‑step guide on using Swift Package Manager (SwiftPM) in iOS projects, covering package creation, directory layout, single‑ and multi‑target designs, dependency handling, Obj‑C/Swift mixing, resource management, static vs dynamic linking, compilation options, ARC disabling, macro definitions, linker settings, common pitfalls, and best‑practice recommendations.

Package ManagementResourcesSwiftPM
0 likes · 18 min read
Swift Package Manager (SwiftPM) Practical Guide: Structure, Resources, Linking, and Best Practices
Dada Group Technology
Dada Group Technology
Oct 28, 2022 · Mobile Development

iOS Memory Management, OOM Causes, and Leak Monitoring Strategies

This article explains iOS memory architecture, the reasons behind Out‑of‑Memory (OOM) crashes, common sources of memory pressure, and practical approaches—including MLeaksFinder and FBRetainCycleDetector—to monitor, detect, and mitigate memory leaks and abnormal memory growth in iOS applications.

Memory ManagementOOMiOS
0 likes · 17 min read
iOS Memory Management, OOM Causes, and Leak Monitoring Strategies
Youku Technology
Youku Technology
Oct 25, 2022 · Industry Insights

How Youku Built a Long‑Term Accessibility Strategy for Its Video App

The article details Youku's comprehensive approach to making its video app accessible, covering unified component specifications, screen‑reader support, extensive testing, scoring mechanisms, content adaptations, and future plans that together create a sustainable, user‑friendly experience for visually impaired users.

AndroidLong-Term StrategyScreen Reader
0 likes · 7 min read
How Youku Built a Long‑Term Accessibility Strategy for Its Video App
Baidu App Technology
Baidu App Technology
Oct 24, 2022 · Mobile Development

Understanding SIGKILL Crashes and Capturing Them with MetricKit on iOS

A SIGKILL crash indicates the OS forcibly terminated an iOS app, which cannot be caught directly, but MetricKit (iOS 14+) can automatically collect diagnostic payloads after restart, allowing developers to extract termination reasons, stack traces, understand codes like 0x8badf00d, and address common causes such as main‑thread watchdog timeouts and deadlocks.

Crash analysisMetricKitObjective‑C
0 likes · 10 min read
Understanding SIGKILL Crashes and Capturing Them with MetricKit on iOS
Huolala Tech
Huolala Tech
Oct 18, 2022 · Mobile Development

How HuoLala Shrunk Its iOS App: Proven Strategies to Cut Package Size

This article details HuoLala's comprehensive iOS app slimming process—covering background metrics, Apple size limits, App Thinning, compiler and resource optimizations, Mach‑O analysis, framework handling, coding guidelines, and CI safeguards—to help developers reduce installation size, improve launch speed, and boost user conversion rates.

App ThinningMach-OResource Compression
0 likes · 24 min read
How HuoLala Shrunk Its iOS App: Proven Strategies to Cut Package Size
Sohu Tech Products
Sohu Tech Products
Oct 12, 2022 · Mobile Development

Implementing Dynamic Island (Live Activity) on iOS

This article explains the Dynamic Island UI feature introduced in iOS 16.1, detailing its API, placement, constraints, development workflow, ActivityAttributes, widget configuration, lifecycle management, deep linking, and suitable use cases, providing Swift code examples for developers to integrate Live Activities into iPhone apps.

ActivityKitDynamic IslandLive Activities
0 likes · 13 min read
Implementing Dynamic Island (Live Activity) on iOS
Alibaba Terminal Technology
Alibaba Terminal Technology
Sep 27, 2022 · Mobile Development

How to Shrink iOS App Size: Proven Strategies and ROI from Alibaba.com

This article explains why app package size matters for download conversion and uninstall rates, presents business value data, and details a comprehensive set of iOS app slimming techniques—including component, resource, and compilation optimizations, code removal, and anti‑regression mechanisms—along with practical ROI analysis and implementation steps.

App SizeOptimizationResource Compression
0 likes · 26 min read
How to Shrink iOS App Size: Proven Strategies and ROI from Alibaba.com
JD Retail Technology
JD Retail Technology
Sep 23, 2022 · Mobile Development

Resolving iOS 16.1 Navigation‑Bar Constraint Crash Caused by TitleControl

The article analyzes a crash introduced in iOS 16.1 where hiding and showing the system navigation bar triggers an NSLayoutConstraint activation failure in _UINavigationBarTitleControl, describes reproduction steps, investigates root causes, and presents a reliable fix by forcing layout updates before changing the bar’s hidden state.

CrashMobileDevelopmentNavigationBar
0 likes · 8 min read
Resolving iOS 16.1 Navigation‑Bar Constraint Crash Caused by TitleControl
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Sep 21, 2022 · Mobile Development

Optimizing Startup Performance of NetEase Cloud Music iOS App

To cut the NetEase Cloud Music iOS app’s sluggish launch, the team trimmed dynamic libraries, replaced costly +load registrations with static modules, swapped SBJson for native parsing, reordered binaries, lazy‑loaded heavy services and ads, and streamlined UI initialization, delivering over 30 % faster cold‑starts and urging ongoing performance monitoring.

Binary ReorderingDynamic LibrariesInstrumentation
0 likes · 34 min read
Optimizing Startup Performance of NetEase Cloud Music iOS App
37 Interactive Technology Team
37 Interactive Technology Team
Sep 15, 2022 · Information Security

Apple Privacy Evolution: Photo Library Access, App Tracking Transparency, SKAdNetwork, and Security Features

Since the 2018 Facebook scandal, Apple has tightened privacy by introducing limited photo library access, App Tracking Transparency, SKAdNetwork 2.0/3.0 attribution, Private Click Measurement, differential‑privacy analytics, granular app permissions, Lockdown Mode, and password‑less Passkeys, balancing developer openness with strong user security.

App Tracking TransparencyAppleSKAdNetwork
0 likes · 20 min read
Apple Privacy Evolution: Photo Library Access, App Tracking Transparency, SKAdNetwork, and Security Features
ByteDance Terminal Technology
ByteDance Terminal Technology
Sep 15, 2022 · Mobile Development

Cloud-Based Dependency Analysis for CocoaPods: Architecture and Optimization at ByteDance

This article describes ByteDance's cloud‑based CocoaPods dependency analysis service, explaining its background, architecture, caching mechanisms, material pruning, and decision‑making strategies that together reduce iOS build dependency resolution time by over 60% while maintaining correctness and low integration cost.

Build OptimizationCocoaPodsDependency Management
0 likes · 14 min read
Cloud-Based Dependency Analysis for CocoaPods: Architecture and Optimization at ByteDance
Alibaba Cloud Developer
Alibaba Cloud Developer
Sep 15, 2022 · Mobile Development

How to Shrink iOS App Size: Proven Techniques and ROI

This article explains why iOS app package size matters for download conversion, install success and uninstall rates, then details a systematic analysis of module sizes, resource usage, compiler optimizations, and anti‑degradation safeguards, providing concrete ROI‑driven shrink‑down strategies.

App SizeOptimizationResources
0 likes · 23 min read
How to Shrink iOS App Size: Proven Techniques and ROI
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Sep 14, 2022 · Mobile Development

Building a High‑Precision Full‑Chain Event Tracking System for Mobile Apps

This article presents a comprehensive, high‑precision, stable, and full‑link event tracking solution for iOS, Android, and H5 clients, detailing the shortcomings of traditional point‑tracking, the design of objects and a virtual tree (VTree), AOP‑based click handling, exposure tracking via VTree diffs, performance optimizations, refer‑based link tracing, and integration with H5/RN, all validated in the NetEase Cloud Music ecosystem.

AndroidFull‑Link TracingVTree
0 likes · 24 min read
Building a High‑Precision Full‑Chain Event Tracking System for Mobile Apps
Ctrip Technology
Ctrip Technology
Sep 8, 2022 · Mobile Development

Optimizing iOS Componentized Development: Binary Debugging, Clipboard Integration, and Build Process Improvements

This article details how the CTrip iOS team streamlined componentized development by introducing binary debugging, automating source‑code linking, solving M1 simulator clipboard issues, and building a visual ZTPodTool that reduces pod install time and accelerates test‑package generation.

Binary DebuggingBuild OptimizationComponentization
0 likes · 17 min read
Optimizing iOS Componentized Development: Binary Debugging, Clipboard Integration, and Build Process Improvements
Sohu Tech Products
Sohu Tech Products
Sep 7, 2022 · Fundamentals

Understanding Mach Tasks, Threads, Processes and Exception Handling on iOS/macOS

The article explains how iOS/macOS uses the XNU kernel's Mach micro‑kernel to represent processes, tasks and threads, describes the relationship between them, classifies hardware and software exceptions, shows how Mach exceptions are translated into Unix signals, and provides practical code examples for capturing both Mach exceptions and signals in a crash‑reporting framework.

Crash ReportingMachSignal
0 likes · 28 min read
Understanding Mach Tasks, Threads, Processes and Exception Handling on iOS/macOS
ByteDance Terminal Technology
ByteDance Terminal Technology
Sep 7, 2022 · Mobile Development

Performance Monitoring Solution for Swift Debugging Using LLDB Plugin in the DanceCC Toolchain

This article describes a comprehensive LLDB‑plugin based monitoring framework that intercepts Xcode’s Script Bridge API to measure and report precise debugging latency for Swift projects, outlines the implementation details, timing scenarios, data reporting, and includes a recruitment notice for the ByteDance client infrastructure team.

DebuggingLLDBPlugin
0 likes · 15 min read
Performance Monitoring Solution for Swift Debugging Using LLDB Plugin in the DanceCC Toolchain
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Aug 29, 2022 · Mobile Development

How to Speed Up Image Loading in iOS Apps: URL Fixing and Cache Optimization

This article analyzes why image loading can become a bottleneck in iOS apps like NetEase Cloud Music, identifies factors such as image size, network conditions, and cache behavior, and presents a comprehensive solution that standardizes URL parameters, reuses local images, and extends SDWebImage's manager and cache to achieve up to 50% faster downloads and significant CDN bandwidth savings.

Objective‑CSDWebImageURL optimization
0 likes · 17 min read
How to Speed Up Image Loading in iOS Apps: URL Fixing and Cache Optimization
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 29, 2022 · Mobile Development

Optimizing iOS App Startup by Adjusting GCD Queue QoS and Reducing Main Thread Preemption

By analyzing thread preemption on low‑end iPhones, this article demonstrates how selecting appropriate GCD queue QoS levels—favoring Utility or Background over User‑Initiated—reduces main‑thread contention, improves launch screen rendering by ~100 ms, and accelerates message list first‑load by up to 1.5 s without altering business logic.

GCDQoSconcurrency
0 likes · 10 min read
Optimizing iOS App Startup by Adjusting GCD Queue QoS and Reducing Main Thread Preemption
Inke Technology
Inke Technology
Aug 25, 2022 · Mobile Development

Mastering iOS Crash Handling, OOM Monitoring, and Memory Profiling

This article explains the iOS system architecture, how Mach and BSD layers handle exceptions, the mechanisms for collecting crashes with KSCrash, strategies for OOM detection and monitoring, and techniques for memory snapshotting and reference‑graph analysis to pinpoint memory bloat.

Crash HandlingKSCrashOOM
0 likes · 21 min read
Mastering iOS Crash Handling, OOM Monitoring, and Memory Profiling
HomeTech
HomeTech
Aug 23, 2022 · Mobile Development

Extracting Car Outlines from Sample Images for 360° Vehicle Capture in an iOS App

This article describes a step‑by‑step iOS implementation that converts example car images into bitmap points, scans edges, removes duplicate points, compensates missing vertices, and finally builds a closed BezierPath to guide 360° vehicle photography, including full Objective‑C code snippets.

BezierPathContour DetectionObjective‑C
0 likes · 8 min read
Extracting Car Outlines from Sample Images for 360° Vehicle Capture in an iOS App
Huolala Tech
Huolala Tech
Aug 23, 2022 · Mobile Development

How to Hook objc_msgSend for Precise iOS Method Timing with Assembly

This article explains how to accurately measure the execution time of Objective‑C methods on iOS by implementing a custom objc_msgSend hook in ARM64 assembly, replacing the original implementation with fishhook, and visualizing the results using Chrome tracing, offering a low‑cost, non‑intrusive performance profiling solution.

AssemblyiOSmethod timing
0 likes · 21 min read
How to Hook objc_msgSend for Precise iOS Method Timing with Assembly
HomeTech
HomeTech
Aug 11, 2022 · Fundamentals

Mach-O File Format: Dynamic and Static Library Attribution and API Scanning Solutions

This article introduces the Mach-O executable format, explains how its structure can be leveraged to attribute dynamic and static libraries at runtime and during build, and presents two practical projects—library attribution and fast API scanning—complete with implementation details and code snippets.

API scanningMach-OReverse Engineering
0 likes · 15 min read
Mach-O File Format: Dynamic and Static Library Attribution and API Scanning Solutions
Huolala Tech
Huolala Tech
Aug 9, 2022 · Mobile Development

How HLL’s Thread Governance Cut Crashes and Boost iOS Driver App Performance

This article explains how the HLL iOS driver team identified excessive global‑queue usage, thread‑switch overhead, deadlocks and UI‑thread violations, then introduced a priority‑aware queue pool, refined concurrency controls, and built long‑term monitoring to dramatically reduce crashes and improve performance.

GCDThread Managementcrash reduction
0 likes · 13 min read
How HLL’s Thread Governance Cut Crashes and Boost iOS Driver App Performance
Dada Group Technology
Dada Group Technology
Jul 29, 2022 · Mobile Development

Network AOP Approaches for iOS Apps: Comparison and Implementation in Dada Express

To enable encrypted transmission and traffic monitoring across multiple iOS apps with diverse networking frameworks, this article compares several network AOP solutions—including AFNetworking, Moya, custom frameworks, runtime method swizzling, and NSURLProtocol—evaluates their pros and cons, and details the chosen NSURLProtocol-based implementation with plugin architecture.

AFNetworkingMoyaNSURLProtocol
0 likes · 11 min read
Network AOP Approaches for iOS Apps: Comparison and Implementation in Dada Express
HomeTech
HomeTech
Jul 27, 2022 · Mobile Development

Hybrid Full-Click Tracking Design for iOS and Flutter Applications

This article presents a hybrid click‑tracking solution that combines the precision of code‑based instrumentation with the low‑cost advantages of full‑click (auto) tracking, detailing implementation patterns for iOS UIControl subclasses, UITableView delegation, and Flutter widget trees using inheritance and custom gesture wrappers.

Event AnalyticsFlutterclick tracking
0 likes · 12 min read
Hybrid Full-Click Tracking Design for iOS and Flutter Applications
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Jul 27, 2022 · Mobile Development

iOS RTL (Right‑to‑Left) Language Adaptation: Challenges and Solutions

The article discusses challenges and solutions for adapting iOS apps to right‑to‑left languages like Arabic, covering UI mirroring, layout adjustments using leading/trailing constraints, image flipping, text alignment and attributed strings, Unicode direction controls, collection view handling, RTL‑aware insets, navigation gestures, number formatting, and in‑app language switching with practical code examples.

LayoutRTLSwift
0 likes · 18 min read
iOS RTL (Right‑to‑Left) Language Adaptation: Challenges and Solutions
58 Tech
58 Tech
Jul 22, 2022 · Mobile Development

Point‑to‑Point Crash Log Parsing and Automatic Symbolication for iOS Applications

This article presents a comprehensive solution for parsing various iOS crash logs—including system logs and Bugly stacks—by automatically matching DSYM symbol files, generating lightweight symbol tables, handling multiple log formats, and correcting abnormal symbols, all packaged in an open‑source macOS tool.

BuglyDebuggingcrash log
0 likes · 17 min read
Point‑to‑Point Crash Log Parsing and Automatic Symbolication for iOS Applications
Sohu Tech Products
Sohu Tech Products
Jul 13, 2022 · Mobile Development

What Is a Lock? Understanding iOS Synchronization Primitives

This article explains the concept of locks in iOS, describing their purpose, the actions of acquiring and releasing, common lock types such as spin locks, mutexes, semaphores, and their implementations using OSSpinLock, pthread_mutex, NSCondition, NSLock, recursive locks, and read‑write locks, along with performance considerations and underlying principles.

LocksconcurrencyiOS
0 likes · 19 min read
What Is a Lock? Understanding iOS Synchronization Primitives
Baidu Geek Talk
Baidu Geek Talk
Jul 13, 2022 · Mobile Development

Baidu APP Large Memory Allocation Monitoring Solution for iOS

Baidu’s iOS solution monitors single memory allocations exceeding an 8 MB threshold by intercepting malloc_logger and capturing stack traces with backtrace, merging online user‑scenario data and offline pipelines to identify large‑allocation hotspots, reduce OOM crashes, and give developers actionable debugging insight.

OOMbacktracedyld
0 likes · 13 min read
Baidu APP Large Memory Allocation Monitoring Solution for iOS
JD Retail Technology
JD Retail Technology
Jul 13, 2022 · Mobile Development

How JDHybrid Offline Loading Supercharges Mobile App Performance

This article analyzes JDHybrid's offline loading architecture for Android and iOS, detailing mechanisms such as direct file loading, request interception, WKURLSchemeHandler, package generation, download tiering, preloading strategies, memory warm‑up, debugging tools, and performance monitoring that together boost first‑screen speed and reduce bandwidth during high‑traffic events.

AndroidOffline Loadinghybrid
0 likes · 39 min read
How JDHybrid Offline Loading Supercharges Mobile App Performance
Baidu App Technology
Baidu App Technology
Jul 12, 2022 · Mobile Development

Large Memory Allocation Monitoring Solution for iOS Applications

A low‑overhead monitoring solution for iOS apps resets the global malloc_logger to capture every allocation, filters large allocations exceeding a configurable threshold, records lightweight stack traces using dyld image maps, and sends address‑only data for offline symbolication, enabling developers to identify and fix memory‑heavy code, reducing OOM crashes.

OOMiOSmalloc
0 likes · 14 min read
Large Memory Allocation Monitoring Solution for iOS Applications