Tagged articles
1034 articles
Page 5 of 11
Xianyu Technology
Xianyu Technology
Oct 21, 2021 · Mobile Development

Flutter iOS GPU Background Crash Analysis and Solution

The article analyzes why Flutter crashes on iOS when accessing the GPU in the background, explains the official SyncSwitch fix for ImageDecoder, and details Xianyu’s additional patches for MultipleFrameCodec, EncodeImage, and Rasterizer::DrawToSurface that together, via PR #28383, fully resolve the GPU‑background crash.

CrashFlutterGPU
0 likes · 11 min read
Flutter iOS GPU Background Crash Analysis and Solution
Sohu Tech Products
Sohu Tech Products
Oct 20, 2021 · Mobile Development

Comprehensive Guide to WKWebView: Migration, Performance, Delegates, Caching, and Cookie Management

This article explains why UIWebView was deprecated, how WKWebView improves performance and memory usage, details its multi‑process architecture, outlines page loading flow, delegate methods, container design, caching strategies, cookie handling across processes, and solutions for white‑screen crashes in iOS apps.

CookieWKWebViewWebView
0 likes · 22 min read
Comprehensive Guide to WKWebView: Migration, Performance, Delegates, Caching, and Cookie Management
Sohu Tech Products
Sohu Tech Products
Oct 14, 2021 · Mobile Development

Understanding the Physics and Interaction Mechanics of iOS UIScrollView

This article explores the underlying physics, mathematical models, and interaction details of iOS's UIScrollView, analyzing its partial‑display principle, deceleration behavior, bounce dynamics, parameter measurement methods, and practical applications in complex scrolling interfaces.

Mobile UIUIScrollViewanimation
0 likes · 19 min read
Understanding the Physics and Interaction Mechanics of iOS UIScrollView
Baidu Geek Talk
Baidu Geek Talk
Oct 13, 2021 · Mobile Development

Why iOS 15 Rejects Your Enterprise IPA and How Re‑signing Fixes It

The article explains the iOS code‑signing verification mechanism, why enterprise IPAs built for iOS 15 fail with a signature‑version error, and provides a step‑by‑step guide to re‑sign the package using newer signature formats, along with a deep dive into certificates, provisioning profiles, entitlements and the underlying cryptographic concepts.

CertificateCode SigningMobile Development
0 likes · 22 min read
Why iOS 15 Rejects Your Enterprise IPA and How Re‑signing Fixes It
Tencent Music Tech Team
Tencent Music Tech Team
Oct 4, 2021 · Mobile Development

Tree Structures in iOS, Android, Web, and Flutter: Views, Layers, and Rendering

The article compares the view‑and‑layer tree architectures of iOS, Android, Web, and Flutter, explaining iOS’s UIView/CALayer hierarchy, coordinate system, and model‑presentation‑render trees, while detailing Flutter’s widget, element, render‑object, and layer trees, and highlighting their shared parse‑layout‑render pipeline and differing animation approaches.

CALayerFlutterMobile Development
0 likes · 12 min read
Tree Structures in iOS, Android, Web, and Flutter: Views, Layers, and Rendering
Tencent Music Tech Team
Tencent Music Tech Team
Oct 1, 2021 · Frontend Development

Tree and View Systems Across Web, Android, iOS, and Flutter

These articles compare how Web, Android, iOS, and Flutter represent UI structures—detailing the DOM and Virtual DOM creation, diffing, and rendering on the Web, and the XML‑based layout inflation, view hierarchy, styling, and drawing pipeline on Android—to help front‑end developers grasp each platform’s tree‑based architecture.

AndroidFlutterView System
0 likes · 11 min read
Tree and View Systems Across Web, Android, iOS, and Flutter
Liulishuo Tech Team
Liulishuo Tech Team
Sep 30, 2021 · Mobile Development

Investigation and Fix of Audio Playback Stutter on iOS 14.5 Using Audio Queue and AVPlayer

The article details a systematic investigation of intermittent audio playback stutter on iOS 14.5, tracing the issue from AVPlayer playback through Audio Queue recording, analyzing AudioStreamBasicDescription parameters and buffer size inconsistencies, and presenting a code‑level fix that aligns buffer sizes before invoking AudioConverterFillComplexBuffer.

AVPlayerAudioEncodingAudioQueue
0 likes · 12 min read
Investigation and Fix of Audio Playback Stutter on iOS 14.5 Using Audio Queue and AVPlayer
DeWu Technology
DeWu Technology
Sep 30, 2021 · Mobile Development

Inside DeWu’s iOS Tech Salon: Video Effects, Mobile AI, and Engineering Evolution

The DeWu iOS tech salon held on September 25, 2021 brought together internal and external experts from DeWu, Alibaba, and ByteDance to share deep technical insights on video effect rendering, the MBox mobile toolchain, mobile AI with MNN, and the evolution of DeWu's iOS engineering practices, followed by interactive Q&A and community networking.

EngineeringMobile AIMobile Development
0 likes · 8 min read
Inside DeWu’s iOS Tech Salon: Video Effects, Mobile AI, and Engineering Evolution
BaiPing Technology
BaiPing Technology
Sep 28, 2021 · Mobile Development

Master NFC Integration Across Android, iOS, and WeChat Mini Programs

This comprehensive guide explains what NFC is, compares it with other short‑range wireless technologies, and provides step‑by‑step tutorials for implementing NFC on Android, iOS, and WeChat mini‑programs, covering chip data writing, NDEF formatting, App Clip integration, and universal link handling.

AndroidNDEFNFC
0 likes · 16 min read
Master NFC Integration Across Android, iOS, and WeChat Mini Programs
ByteDance Terminal Technology
ByteDance Terminal Technology
Sep 23, 2021 · Fundamentals

Understanding ld64 Static Linking on iOS: Architecture, Symbols, and Optimizations

This comprehensive guide explains the inner workings of Apple's ld64 static linker for iOS, covering its historical background, core concepts such as objects, archives, symbols, and fixups, command‑line parameters, execution phases, symbol resolution, dead‑code stripping, optimization passes, output generation, auto‑linking, the -ObjC flag, debugging options, and LTO support.

LinkerStatic Linkingdead strip
0 likes · 31 min read
Understanding ld64 Static Linking on iOS: Architecture, Symbols, and Optimizations
BaiPing Technology
BaiPing Technology
Sep 22, 2021 · Mobile Development

Master CocoaPods: Complete Guide to iOS Dependency Management

This comprehensive tutorial explains how to use CocoaPods for iOS and macOS development, covering installation, project initialization, dependency management, podspec creation, private repository setup, version control, caching, and troubleshooting, enabling developers to efficiently manage third‑party libraries and create reusable modules.

CocoaPodsObjective‑CPrivate Pods
0 likes · 30 min read
Master CocoaPods: Complete Guide to iOS Dependency Management
Alibaba Terminal Technology
Alibaba Terminal Technology
Sep 17, 2021 · Mobile Development

Taming iOS Architecture Decay: Strategies to Boost Build Efficiency

An in‑depth case study of Alibaba.com’s iOS client reveals how architectural decay—manifested as tangled module dependencies, slow builds, and outdated tooling—drains developer productivity, and outlines data‑driven, layered, and automated strategies—including dependency analysis, modular refactoring, and CI safeguards—to restore a healthy, scalable mobile codebase.

Build OptimizationDependency Analysisarchitecture
0 likes · 17 min read
Taming iOS Architecture Decay: Strategies to Boost Build Efficiency
Sohu Tech Products
Sohu Tech Products
Sep 15, 2021 · Mobile Development

iOS Symbolication: Understanding Crash Logs and Tools

This article provides a comprehensive guide to iOS symbolication, explaining what symbolication is, why it is needed, how to analyze crash logs, the required files, and step‑by‑step usage of tools such as symbolicatecrash and atos to turn unreadable crash stacks into readable source code references.

crash logsdSYMiOS
0 likes · 18 min read
iOS Symbolication: Understanding Crash Logs and Tools
Kuaishou Tech
Kuaishou Tech
Sep 10, 2021 · Mobile Development

Analyzing and Resolving a Main Thread ↔ JavaScriptCore Heap Collector Thread Deadlock on iOS 13

This article investigates a deadlock between the Main Thread and the JavaScriptCore Heap Collector Thread on iOS 13, explains the underlying mutex and RunLoop interactions, reproduces the issue with CFTimer‑based timers, and proposes an AutoReleasePool‑wrapped solution along with best‑practice recommendations for JavaScriptCore usage.

Memory ManagementRunLoopdeadlock
0 likes · 17 min read
Analyzing and Resolving a Main Thread ↔ JavaScriptCore Heap Collector Thread Deadlock on iOS 13
Kuaishou Frontend Engineering
Kuaishou Frontend Engineering
Sep 10, 2021 · Mobile Development

Main Thread vs JavaScriptCore: iOS 13 Deadlock Explained & Fixed

An in‑depth analysis reveals how a Main Thread and JavaScriptCore Heap Collector Thread can deadlock on iOS 13 due to RunLoop lock contention triggered by timer callbacks and AutoReleasePool memory reclamation, and provides a practical solution using scoped AutoReleasePool blocks to prevent the issue.

MobileRunLoopdeadlock
0 likes · 18 min read
Main Thread vs JavaScriptCore: iOS 13 Deadlock Explained & Fixed
Beike Product & Technology
Beike Product & Technology
Sep 8, 2021 · Mobile Development

iOS Crash Analysis and Mitigation: Principles, Mechanisms, and a Case Study of WebView Container Crash on iOS 15

This article explains the fundamentals of iOS crashes, describes exception types such as Mach and Signal, details stack memory layout and recovery techniques, and walks through several real‑world crash investigations—including WKWebView, ImageIO, and fishhook issues—culminating in practical mitigation steps that reduced crash rates by over 60%.

CrashDebuggingMachException
0 likes · 17 min read
iOS Crash Analysis and Mitigation: Principles, Mechanisms, and a Case Study of WebView Container Crash on iOS 15
Alibaba Terminal Technology
Alibaba Terminal Technology
Sep 8, 2021 · Mobile Development

Mastering WKWebView: Common Pitfalls, Multi‑Process Model, and Practical Solutions

This article dives deep into WKWebView on iOS/macOS, explaining its network architecture, cookie handling, multi‑process model, and the four major production issues—request proxy, cookie management, full‑screen adaptation, and WebContent crashes—while offering detailed, source‑level solutions and implementation tips.

Cookie ManagementHybrid DevelopmentRequest Proxy
0 likes · 21 min read
Mastering WKWebView: Common Pitfalls, Multi‑Process Model, and Practical Solutions
Baidu App Technology
Baidu App Technology
Sep 6, 2021 · Mobile Development

Mastering iOS Crash Symbolication: From dSYM Basics to Online Automation

This guide explains why raw iOS crash logs are unreadable, introduces dSYM files and DWARF debugging information, shows how to match UUIDs, compute addresses, and use both Xcode and command‑line tools for local symbolication, and describes a scalable online solution for massive crash‑log processing.

DebuggingMobile Developmentcrash analysis
0 likes · 23 min read
Mastering iOS Crash Symbolication: From dSYM Basics to Online Automation
ELab Team
ELab Team
Sep 2, 2021 · Mobile Development

Mastering In-App and Third-Party Payments: A Complete Guide for Mobile Apps

This article outlines the various payment channels—In‑App Purchase, third‑party, H5, and mini‑program—across iOS, Android, and WeChat environments, detailing their flow diagrams, required API interactions, code examples, and best‑practice recommendations to help developers implement seamless mobile payments.

AndroidIn-App PurchaseWeChat Pay
0 likes · 16 min read
Mastering In-App and Third-Party Payments: A Complete Guide for Mobile Apps
php Courses
php Courses
Aug 31, 2021 · Mobile Development

React Native and H5 Interaction: Communication Methods and Code Examples

This article explains how to enable two-way communication between React Native and H5 pages using WebView, covering message handling in both directions, code examples for sending and receiving data, and important migration notes from the built‑in WebView to react‑native‑webview.

AndroidH5JavaScript
0 likes · 5 min read
React Native and H5 Interaction: Communication Methods and Code Examples
Kuaishou Frontend Engineering
Kuaishou Frontend Engineering
Aug 30, 2021 · Mobile Development

Why Does NSString Leak in Long‑Running Threads? Exploring ARC and AutoreleasePool

An in‑depth analysis of a memory‑growth issue observed in a Kuaishou live‑stream app reveals how ARC, autorelease pools, and NSString’s class‑cluster implementation interact, why @autoreleasepool blocks resolve the leak, and how compiler optimizations and thread‑local pools affect object release in long‑running C++ threads.

ARCAutoreleasePoolMemory Management
0 likes · 23 min read
Why Does NSString Leak in Long‑Running Threads? Exploring ARC and AutoreleasePool
Sohu Tech Products
Sohu Tech Products
Aug 25, 2021 · Mobile Development

iOS Audio Playback: Demuxing, Decoding, and Playing AAC Files

This article explains how to play AAC (ADTS) audio on iOS by demonstrating the complete pipeline—from demuxing the file header and extracting raw data, through decoding with AudioConverterRef, to playback using AudioUnit and AUGraph, and even covering basic transcoding techniques.

AACAudio DecodingAudio Unit
0 likes · 10 min read
iOS Audio Playback: Demuxing, Decoding, and Playing AAC Files
Snowball Engineer Team
Snowball Engineer Team
Aug 20, 2021 · Mobile Development

Automating iOS Color Management and Code Snippet Generation with CocoaPods, Ruby, and ERB

This article describes a complete workflow for iOS UI development that centralizes color definitions in a JSON palette, synchronizes them via a CocoaPods post‑integrate hook, and automatically generates Objective‑C/Swift color constants and Xcode code snippets using Ruby and ERB templates, dramatically improving efficiency and reducing manual errors.

AutomationCocoaPodsCode Generation
0 likes · 12 min read
Automating iOS Color Management and Code Snippet Generation with CocoaPods, Ruby, and ERB
Sohu Tech Products
Sohu Tech Products
Aug 18, 2021 · Mobile Development

A Comprehensive Guide to iOS Core Data: Modeling, Persistence, and CRUD Operations

This article explains why Core Data is needed for iOS data persistence, introduces its concepts such as entities, attributes, relationships, and ORM, walks through creating a data model file, configuring NSPersistentContainer, and demonstrates full CRUD operations with Swift code examples and best‑practice tips.

Core DataMobile DevelopmentNSPersistentContainer
0 likes · 20 min read
A Comprehensive Guide to iOS Core Data: Modeling, Persistence, and CRUD Operations
ByteDance Dali Intelligent Technology Team
ByteDance Dali Intelligent Technology Team
Aug 18, 2021 · Mobile Development

Using IGListKit for Efficient List Management in iOS Applications

This article explains how IGListKit can replace UICollectionView for building list scenes in iOS apps, detailing its architecture, adapter‑section controller pattern, diff‑based updates, practical issues such as cell‑level diffing, and integration with RxSwift to achieve smooth, performant UI rendering.

Diffable Data SourceIGListKitList Management
0 likes · 15 min read
Using IGListKit for Efficient List Management in iOS Applications
Airbnb Technology Team
Airbnb Technology Team
Aug 16, 2021 · Mobile Development

From Imperative to Declarative UI: Airbnb's Epoxy Framework for iOS

Airbnb’s Epoxy iOS framework replaces fragile, indexPath‑driven imperative UI code with a declarative model‑based system that automatically diffs and animates view updates, eliminating crashes, boosting developer satisfaction from –78 to +58, and enabling a unified, open‑source approach to building Swift interfaces.

Declarative UIDiffing AlgorithmEpoxy
0 likes · 10 min read
From Imperative to Declarative UI: Airbnb's Epoxy Framework for iOS
转转QA
转转QA
Aug 13, 2021 · Mobile Development

Implementing UI Automation Regression for Mobile Event Tracking (埋点)

This article details a UI automation regression framework for mobile event tracking, covering background challenges, Android and iOS log collection methods, H5 integration strategies, performance comparisons, and practical recommendations to improve testing efficiency by about 50%.

AndroidUI automationevent tracking
0 likes · 8 min read
Implementing UI Automation Regression for Mobile Event Tracking (埋点)
Sohu Tech Products
Sohu Tech Products
Aug 11, 2021 · Mobile Development

iOS App Startup Optimization: Process, Measurement, and Practical Solutions

This article explains how iOS app launch works, presents methods for measuring startup time using system calls and Xcode Instruments, shares a detailed case study of the Maimai app, and offers concrete pre‑main and post‑main optimization techniques—including binary reordering, dynamic‑library reduction, concurrency control, and unconventional tricks—to achieve sub‑second launch performance.

Binary ReorderingInstrumentsMobile Development
0 likes · 25 min read
iOS App Startup Optimization: Process, Measurement, and Practical Solutions
Beike Product & Technology
Beike Product & Technology
Aug 6, 2021 · Mobile Development

Beike iOS Cold‑Start Optimization Practices and Framework

This article systematically presents the cold‑start performance problems of the Beike iOS app, defines testing standards, explains the essence of optimization, lists common pitfalls, and details a comprehensive set of practical solutions ranging from lifecycle‑aware task scheduling and minimal‑set launchers to dynamic‑library lazy loading, compile‑time I/O elimination, static‑initializer handling, dead‑code removal, and monitoring standards.

BenchmarkFrameworkPerformance Optimization
0 likes · 22 min read
Beike iOS Cold‑Start Optimization Practices and Framework
Sohu Tech Products
Sohu Tech Products
Aug 4, 2021 · Mobile Development

Comprehensive Guide to Reducing iOS App Package Size

This article presents a step‑by‑step guide for shrinking iOS app IPA size by leveraging App Thinning, removing unused image assets, compressing media, and eliminating dead code through tools like FengNiao, LSUnusedResources, AppCode, and LinkMap analysis.

App ThinningMobile DevelopmentResource Management
0 likes · 20 min read
Comprehensive Guide to Reducing iOS App Package Size
Kuaishou Tech
Kuaishou Tech
Aug 3, 2021 · Mobile Development

Practical Experience of Swift/Objective‑C Binary Mixed Compilation at Kuaishou Overseas Client Team

This article shares the Kuaishou overseas client team's practical experiences and solutions for improving compilation efficiency through Swift/Objective‑C binary mixed compilation, covering single‑target and multi‑target strategies, moduleization challenges, binary compatibility, and future directions for mobile development.

CocoaPodsMixed CompilationObjective‑C
0 likes · 18 min read
Practical Experience of Swift/Objective‑C Binary Mixed Compilation at Kuaishou Overseas Client Team
Kuaishou Frontend Engineering
Kuaishou Frontend Engineering
Aug 2, 2021 · Mobile Development

Mastering Swift/ObjC Binary Mixed Compilation: Practical Tips for Mobile Teams

This article shares the Kuaishou overseas client team's experience of improving Swift/Objective‑C mixed compilation through binary packaging, covering single‑target and multi‑target strategies, moduleization challenges, solutions for C++ and header issues, and future best‑practice recommendations for iOS development.

Mixed CompilationObjective‑CSwift
0 likes · 18 min read
Mastering Swift/ObjC Binary Mixed Compilation: Practical Tips for Mobile Teams
ELab Team
ELab Team
Aug 2, 2021 · Mobile Development

Mastering JSBridge: Two‑Way Communication Between WebView and Native

JSBridge (JSB) enables bidirectional communication between a WebView’s JavaScript environment and native mobile code, covering WebView basics, platform-specific APIs, interception and injection methods, callback handling, and practical demos for both Android and iOS, helping developers implement robust cross‑platform bridges.

AndroidJSBridgeMobile Development
0 likes · 14 min read
Mastering JSBridge: Two‑Way Communication Between WebView and Native
JD Tech Talk
JD Tech Talk
Jul 29, 2021 · Mobile Development

Crash Analysis and Mitigation Strategies for JD Finance iOS App

This article explains the fundamentals of iOS crashes, categorizes common crash types such as wild pointers, deadlocks and watchdogs, presents real-world JD Finance app crash cases with code analysis, and outlines systematic debugging, logging, and preventive practices to keep crash rates well below industry averages.

Crash HandlingiOSmultithreading
0 likes · 26 min read
Crash Analysis and Mitigation Strategies for JD Finance iOS App
DeWu Technology
DeWu Technology
Jul 24, 2021 · Mobile Development

Why Rust Is the Next Game-Changer for Cross‑Platform Mobile Development

This article examines how Rust can unify client logic across Android and iOS, compares it with React Native and Flutter, and details a MVVM‑based architecture, binding mechanisms, and debugging optimizations that make Rust a lightweight, high‑performance solution for international mobile teams.

AndroidMVVMMobile Development
0 likes · 12 min read
Why Rust Is the Next Game-Changer for Cross‑Platform Mobile Development
Zhongtong Tech
Zhongtong Tech
Jul 23, 2021 · Mobile Development

How to Build a Custom iOS Component Library with CocoaPods Scaffold

Learn how to manually create an iOS component library using CocoaPods, automate the process with the pod lib create scaffold, customize private templates, and develop a CocoaPods plugin to streamline library generation, complete with code examples and project structure details.

AutomationCocoaPodsComponent Library
0 likes · 13 min read
How to Build a Custom iOS Component Library with CocoaPods Scaffold
NetEase Media Technology Team
NetEase Media Technology Team
Jul 21, 2021 · Mobile Development

Componentization Practices in NetEase News iOS Application

The NetEase News iOS team adopted a three‑layer componentization strategy—foundation, common, and business—standardizing code conventions, Git workflow, and CI‑driven reviews, encapsulating third‑party libraries, managing dependencies via injection and mediators, and distributing binary pods, which reduced the main project to a single file while expanding reusable components to over 250, achieving low coupling and high cohesion.

Component ArchitecturePoddependency management
0 likes · 19 min read
Componentization Practices in NetEase News iOS Application
Baidu App Technology
Baidu App Technology
Jul 19, 2021 · Mobile Development

How WKWebView Manages Cookies: Storage Location & Sync Mechanics

This article explores the fundamentals of HTTP cookies within WKWebView, detailing how cookies are stored in memory or disk, the roles of UIProcess, WebContent, and NetworkProcess, and provides code examples for front‑end JavaScript, back‑end headers, and iOS client APIs.

Cookie ManagementHTTP CookiesProcess Communication
0 likes · 11 min read
How WKWebView Manages Cookies: Storage Location & Sync Mechanics
FunTester
FunTester
Jul 12, 2021 · Mobile Development

Mastering Airtest: No‑Code Automation for Android & iOS Testing

This guide walks you through what Airtest is, how to install it, connect devices, use its visual interface for basic operations, and follow a step‑by‑step example that records actions and generates runnable test scripts for Android and iOS apps.

AirtestAndroidUI automation
0 likes · 8 min read
Mastering Airtest: No‑Code Automation for Android & iOS Testing
iQIYI Technical Product Team
iQIYI Technical Product Team
Jul 9, 2021 · Mobile Development

Performance Optimization of First-Frame Rendering in iOS Live Streaming (iQIYI Qixiu App)

By combining telemetry, Xcode Time Profile analysis, and a state‑machine‑driven deferment of playback until UI layout completes, the iQIYI Qixiu iOS team eliminated main‑thread SetFrame blocking and streamlined room‑data handling, boosting instant‑play success from roughly 56% to 78% and markedly improving first‑frame rendering latency.

First Frame RenderingMobile DevelopmentPerformance Optimization
0 likes · 8 min read
Performance Optimization of First-Frame Rendering in iOS Live Streaming (iQIYI Qixiu App)
Programmer DD
Programmer DD
Jul 7, 2021 · Information Security

New iPhone Wi‑Fi Crash: The %SecretClub%power SSID Vulnerability Explained

Security researcher Carl Schou has uncovered a new iPhone Wi‑Fi vulnerability where connecting to a network named “%SecretClub%power” crashes the device’s Wi‑Fi, cannot be fixed by resetting network settings, and may require a full data wipe, highlighting iOS’s flawed percent‑sign parsing.

AppleWiFiiOS
0 likes · 3 min read
New iPhone Wi‑Fi Crash: The %SecretClub%power SSID Vulnerability Explained
Baidu App Technology
Baidu App Technology
Jul 6, 2021 · Mobile Development

Unveiling WKWebView’s Loading Lifecycle: Deep Dive into WebKit Processes and Navigation Delegates

This article dissects the WKWebView loading pipeline on iOS, explaining the three WebKit processes, their communication, the step‑by‑step request flow, and the detailed behavior of each WKNavigationDelegate method, providing practical insights for performance tuning and debugging.

LoadingLifecycleMobileDevelopmentNavigationDelegate
0 likes · 12 min read
Unveiling WKWebView’s Loading Lifecycle: Deep Dive into WebKit Processes and Navigation Delegates
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jul 5, 2021 · Game Development

Why Cocos Creator Leaks Memory on iOS and How to Fix It

This article investigates the memory‑leak issue in Tencent Penguin Tutor's Cocos Creator implementation on iOS, explains why the engine's node pool and DragonBones animations cause unreleased Texture2D objects, and provides a step‑by‑step solution using explicit pool clearing and proper object disposal.

Cocos CreatorDebuggingDragonBones
0 likes · 16 min read
Why Cocos Creator Leaks Memory on iOS and How to Fix It
Sohu Tech Products
Sohu Tech Products
Jun 23, 2021 · Mobile Development

Implementing Weekday Calendar Reminders with Holiday Filtering on iOS

This article demonstrates how to create recurring iOS calendar reminders for Monday‑to‑Friday workdays, filter out Chinese statutory holidays using an external holiday‑cn JSON source, and handle make‑up workdays, providing complete Swift code and step‑by‑step explanations.

CalendarEventKitHoliday
0 likes · 17 min read
Implementing Weekday Calendar Reminders with Holiday Filtering on iOS
Baidu App Technology
Baidu App Technology
Jun 22, 2021 · Mobile Development

WebKit Source Code Tutorial: Download, Compile, Debug, and Analyze WKWebView on iOS

This tutorial walks iOS developers through downloading the WebKit source, configuring and compiling it, setting up a debugging project or using the MobileMiniBrowser demo, and analyzing WKWebView’s multi‑process architecture—including UI, WebContent, Network, and Storage processes—to troubleshoot and profile rendering behavior.

CompilationWKWebViewWebKit
0 likes · 12 min read
WebKit Source Code Tutorial: Download, Compile, Debug, and Analyze WKWebView on iOS
ByteDance Dali Intelligent Technology Team
ByteDance Dali Intelligent Technology Team
Jun 19, 2021 · Mobile Development

Hooking iOS UICollectionView Delegate with Method Swizzling and NSProxy: Challenges and Solutions

This article explains how to use AOP techniques such as Method Swizzle and NSProxy to hook UICollectionView and UIViewController delegate methods for precise event tracking, analyzes compatibility problems caused by multiple delegate proxies in large apps, and proposes three practical solutions to avoid crashes and maintain extensibility.

Delegate ProxyHookingMethod Swizzling
0 likes · 15 min read
Hooking iOS UICollectionView Delegate with Method Swizzling and NSProxy: Challenges and Solutions
ByteFE
ByteFE
Jun 17, 2021 · Mobile Development

Understanding JSBridge: Implementation and Communication Between WebView and Native

This article explains what JSBridge is, details its implementation using URL interception and iframe tricks, and walks through the registration, message handling, and call flow between WebView and native code on iOS, providing full code examples and a step‑by‑step process overview.

JSBridgeNative Communicationbridge
0 likes · 11 min read
Understanding JSBridge: Implementation and Communication Between WebView and Native
Tencent Music Tech Team
Tencent Music Tech Team
Jun 11, 2021 · Mobile Development

iOS Crash Interception, Reporting, and Post‑Crash Handling

The article explains how iOS crash interception must comprehensively and stably capture Mach, exception and signal crashes using combined signal‑and‑exception handlers, details stack‑trace symbolication via Mach‑O image lookup, and outlines safe post‑crash processing with a limited run‑loop while avoiding handler conflicts.

Crash HandlingMach ExceptionMobile Development
0 likes · 11 min read
iOS Crash Interception, Reporting, and Post‑Crash Handling
Tencent Music Tech Team
Tencent Music Tech Team
Jun 10, 2021 · Mobile Development

iOS Crash Protection: Motivation, Process, and Implementation

After a massive crash caused by a malformed Facebook SDK payload highlighted the lack of fault‑tolerance, this article explains why iOS crash protection is essential, outlines a four‑step handling workflow, and details two main techniques—Aspect‑Oriented Programming hooks and managed zombie objects—along with their pitfalls, performance impact, and memory‑threshold formulas for safe production deployment.

Memory ManagementZombie Objectsaop
0 likes · 11 min read
iOS Crash Protection: Motivation, Process, and Implementation
Ctrip Technology
Ctrip Technology
Jun 3, 2021 · Mobile Development

Trip.com iOS App Launch Optimization Practices

This article details the analysis of the iOS app launch process and presents a series of practical optimization techniques—ranging from reducing dynamic libraries and dead code to binary reordering and task concurrency—that together cut Trip.com’s launch time from two seconds to under one second.

App LaunchMobile DevelopmentiOS
0 likes · 14 min read
Trip.com iOS App Launch Optimization Practices
Sohu Tech Products
Sohu Tech Products
Jun 2, 2021 · Mobile Development

In‑Depth Analysis of YYModel Source Code and Its JSON Parsing Mechanism

This article provides a detailed examination of the YYModel framework’s source code, explaining how it leverages Objective‑C runtime to parse JSON into model objects, covering key files, internal classes, mapping mechanisms, and the core conversion methods with illustrative code examples.

JSONObjective‑CRuntime
0 likes · 12 min read
In‑Depth Analysis of YYModel Source Code and Its JSON Parsing Mechanism
Miss Fresh Tech Team
Miss Fresh Tech Team
May 29, 2021 · Mobile Development

How a Unified Popup SDK Streamlines Mobile App Dialog Management

An in‑depth guide to designing and implementing a unified popup SDK for a mobile commerce app, covering project background, pain points, architectural modules, data models, template factories, code integration, and measurable benefits such as reduced development effort and cleaner dialog management.

MobileSDKUI
0 likes · 22 min read
How a Unified Popup SDK Streamlines Mobile App Dialog Management
ByteDance Terminal Technology
ByteDance Terminal Technology
May 28, 2021 · Mobile Development

Hooking iOS Delegates with Method Swizzling and Proxy Patterns: Challenges, Crash Analysis, and Compatibility Solutions

This article explores using AOP techniques such as Method Swizzle and NSProxy‑based delegate proxies to instrument iOS view controllers and collection view delegates, analyzes crashes caused by multiple setDelegate hooks—including interactions with RxCocoa—and proposes several practical solutions to ensure stable hooking in complex app environments.

Delegate ProxyHookingMethod Swizzling
0 likes · 17 min read
Hooking iOS Delegates with Method Swizzling and Proxy Patterns: Challenges, Crash Analysis, and Compatibility Solutions
Sohu Tech Products
Sohu Tech Products
May 26, 2021 · Mobile Development

Comprehensive Guide to iOS App Package Size Optimization

This article systematically explains how to analyze, reduce, and monitor iOS IPA package size by examining Xcode build settings, resource files, and code, providing detailed step‑by‑step configurations, tables of component sizes, practical scripts, and best‑practice recommendations for sustainable bundle‑size management.

Build SettingsMobile DevelopmentPackage Size
0 likes · 31 min read
Comprehensive Guide to iOS App Package Size Optimization
Sohu Tech Products
Sohu Tech Products
May 26, 2021 · Mobile Development

Understanding MVC and MVVM Patterns in iOS Development

This article provides a comprehensive guide to the MVC and MVVM architectural patterns for iOS, explaining their components, interactions, KVO usage, and includes complete Objective‑C code examples that demonstrate how to implement both patterns in a real‑world news‑list app.

Design PatternsKVOMVC
0 likes · 37 min read
Understanding MVC and MVVM Patterns in iOS Development
JD Retail Technology
JD Retail Technology
May 25, 2021 · Mobile Development

Optimizing JD Mall Order Business with Swift: Static Dispatch, Value Types, and Functional Techniques

This article describes how JD Mall’s order system migrated key iOS components to Swift, leveraging static dispatch, value‑type structures, protocol‑oriented design, error handling, guard statements, defer, lazy loading, and functional programming to improve performance, safety, and maintainability across mobile and macOS applications.

Error HandlingSwiftSwiftUI
0 likes · 16 min read
Optimizing JD Mall Order Business with Swift: Static Dispatch, Value Types, and Functional Techniques
Kuaishou Tech
Kuaishou Tech
May 21, 2021 · Mobile Development

Swift and Objective‑C Interoperability: Mixing, Modules, and Runtime Dynamics

This article explains how Swift and Objective‑C can be mixed in iOS projects, covering prerequisite settings, CocoaPods module configuration, name mangling, compilation differences, dynamic features, method replacement techniques, and the underlying Swift runtime metadata that enable seamless inter‑language calls.

CocoaPodsInteroperabilityModules
0 likes · 25 min read
Swift and Objective‑C Interoperability: Mixing, Modules, and Runtime Dynamics
Sohu Tech Products
Sohu Tech Products
May 19, 2021 · Mobile Development

Creating an iOS Flutter Audio Player Plugin with MethodChannel

This tutorial explains step‑by‑step how to create a custom iOS Flutter plugin for audio playback, covering the MethodChannel architecture, Dart side implementation, Swift native code, and communication of playback controls and status between Flutter and iOS.

AudioPlayerDARTFlutter
0 likes · 15 min read
Creating an iOS Flutter Audio Player Plugin with MethodChannel
Sohu Tech Products
Sohu Tech Products
May 19, 2021 · Mobile Development

Design and Implementation of an iOS Mobile Log System Using WCDB

This article describes the requirements, architecture, API design, database selection, retention policies, security measures, and performance optimizations of a new iOS log system that records business, network, and player logs, uses WCDB for storage, and employs active pull and encrypted chunked uploads to improve issue diagnosis.

SecurityWCDBiOS
0 likes · 16 min read
Design and Implementation of an iOS Mobile Log System Using WCDB
58 Tech
58 Tech
May 19, 2021 · Mobile Development

Hooking Swift Functions by Modifying the Virtual Table (VTable)

This article explains a novel Swift hooking technique that modifies the virtual function table (VTable) to replace method implementations, detailing Swift's runtime structures such as TypeContext, Metadata, OverrideTable, and providing concrete ARM64 assembly and Swift code examples.

HookingRuntimeSwift
0 likes · 19 min read
Hooking Swift Functions by Modifying the Virtual Table (VTable)
ELab Team
ELab Team
May 13, 2021 · Mobile Development

How to Keep Fixed Headers and Footers Stable When the iOS Keyboard Pops Up

This article explains why fixed elements break when the iOS soft keyboard appears in a WebView, compares iOS and Android keyboard behaviors, shows how to listen for keyboard events, and provides practical solutions—including native headers, scrollIntoView tricks and scroll adjustments—to keep sticky UI components correctly positioned.

AndroidKeyboardMobile
0 likes · 12 min read
How to Keep Fixed Headers and Footers Stable When the iOS Keyboard Pops Up
Kuaishou Tech
Kuaishou Tech
May 13, 2021 · Mobile Development

Swift Adoption and Architecture Evolution at AcFun: From Objective‑C to SwiftUI and Combine

The article details how AcFun transitioned its iOS codebase from Objective‑C to Swift, describing Swift's origins, Apple’s strategic push, the company’s architectural evolution, mixed‑language challenges, performance gains, and the adoption of modern frameworks such as SwiftUI, Combine, and RxSwift.

CombineMobile DevelopmentRxSwift
0 likes · 17 min read
Swift Adoption and Architecture Evolution at AcFun: From Objective‑C to SwiftUI and Combine
Sohu Tech Products
Sohu Tech Products
May 12, 2021 · Mobile Development

Implementing Voice Playback for iOS Push Notifications Using Notification Service Extension and Baidu TTS

This article details the background, development steps, and debugging process for enabling dynamic voice playback in iOS push notifications via Notification Service Extension, covering iOS version constraints, integration of system AVSpeechSynthesizer and Baidu offline TTS SDK, code examples, and deployment considerations.

AVSpeechSynthesizerBaidu TTSMobile Development
0 likes · 18 min read
Implementing Voice Playback for iOS Push Notifications Using Notification Service Extension and Baidu TTS
Sohu Tech Products
Sohu Tech Products
May 12, 2021 · Mobile Development

Understanding Diff Algorithms and Batch Updates in UICollectionView (iOS)

This article explains the concept of diff algorithms, demonstrates how to perform partial updates in iOS UICollectionView using insert, delete, reload and move APIs, introduces edit paths and the Wagner–Fischer dynamic‑programming algorithm, and provides Swift code examples for calculating optimal edit steps.

Batch UpdatesSwiftUICollectionView
0 likes · 12 min read
Understanding Diff Algorithms and Batch Updates in UICollectionView (iOS)
QQ Music Frontend Team
QQ Music Frontend Team
May 6, 2021 · Mobile Development

Practical Guide to Trimming Flutter App Size on iOS & Android

This article examines the composition of Flutter iOS and Android build artifacts, then presents detailed strategies—such as removing unused components, relocating assets, and optimizing engine compilation—to significantly reduce package size, with concrete examples, code snippets, and measured results showing up to 50% shrinkage.

AndroidApp SizeiOS
0 likes · 17 min read
Practical Guide to Trimming Flutter App Size on iOS & Android
JD Retail Technology
JD Retail Technology
Apr 19, 2021 · Fundamentals

Understanding the Objective‑C Class Loading Process in dyld and the objc Runtime

This article explains how an iOS/macOS application is launched, detailing the interaction between dyld and the Objective‑C runtime, the initialization steps performed by _objc_init, and the series of functions such as environ_init, static_init, map_images, read_images, and load_images that together realize classes, selectors, protocols and +load methods before main() is called.

Objective‑CRuntimeclass loading
0 likes · 19 min read
Understanding the Objective‑C Class Loading Process in dyld and the objc Runtime
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Apr 14, 2021 · Mobile Development

Understanding the XNU "wakeup" Metric and Its Impact on iOS Battery Consumption

Apple’s XNU kernel introduced the “wakeup” metric in iOS 13 to count CPU core activations from low‑power states, and because high wake‑up rates increase dynamic power consumption, developers must identify and consolidate timers, avoid frequent polling, and pause background tasks to lower the metric and extend battery life.

CPU Power ManagementXNUbattery optimization
0 likes · 16 min read
Understanding the XNU "wakeup" Metric and Its Impact on iOS Battery Consumption
JD Tech
JD Tech
Apr 12, 2021 · Mobile Development

Adding an ADHoc Build Configuration to a Flutter‑iOS Project

This article explains how to create a custom ADHoc build configuration in Xcode for a mixed Flutter and iOS project, covering steps such as duplicating Debug/Release configurations, adjusting bundle identifiers, app names, push SDK parameters, certificates, user‑defined settings, and integrating the changes into Flutter’s build scripts and CI pipelines.

ADHocBuild configurationCI
0 likes · 7 min read
Adding an ADHoc Build Configuration to a Flutter‑iOS Project
HelloTech
HelloTech
Apr 9, 2021 · Mobile Development

Optimizing First-Page Rendering Performance in the Hello Travel iOS App

By instrumenting the full launch chain, profiling startup tasks, and applying targeted fixes such as staged task scheduling, Lottie and image caching, and reducing heavy +load logic, the Hello Travel iOS app cut its first‑screen rendering time from over one second to under one second for 90 % of users, achieving roughly a 40 % performance gain.

CocoaServiceLottieProfiling
0 likes · 17 min read
Optimizing First-Page Rendering Performance in the Hello Travel iOS App
Youku Technology
Youku Technology
Apr 7, 2021 · Mobile Development

Rethinking iOS Architecture: From MVC to a Refined MVVM Approach

This article analyzes the limitations of classic iOS MVC, explores MVVM's benefits and drawbacks, and proposes a new service‑oriented architecture with a simple DSL to define and compose atomic business functions, aiming for cleaner, more maintainable mobile code.

Design PatternsMVCMVVM
0 likes · 10 min read
Rethinking iOS Architecture: From MVC to a Refined MVVM Approach
JD Retail Technology
JD Retail Technology
Apr 6, 2021 · Mobile Development

LLDB Overview and Common Commands

LLDB is a high‑performance debugger integrated with Xcode that supports C, Objective‑C, and C++ development; this article introduces its command‑line syntax, explains key commands such as help, expression, thread, breakpoint, watchpoint, and image, and provides usage examples to improve debugging efficiency.

CommandLineDebuggingLLDB
0 likes · 14 min read
LLDB Overview and Common Commands
JavaScript
JavaScript
Apr 5, 2021 · Mobile Development

What’s New in NativeScript 8.0? Explore M1, Webpack5, and Accessibility Boosts

NativeScript 8.0 expands the mature cross‑platform framework with Apple Silicon (M1) support, Webpack 5 integration, enhanced accessibility, new ESLint rules, a RootLayout container, updated documentation, and streamlined core features for building iOS and Android apps using JavaScript or TypeScript.

AndroidJavaScriptMobile Development
0 likes · 2 min read
What’s New in NativeScript 8.0? Explore M1, Webpack5, and Accessibility Boosts
JD Retail Technology
JD Retail Technology
Mar 29, 2021 · Mobile Development

How iOS Touch Events Are Generated, Propagated, and Handled

This article explains how iOS generates a touch event, encapsulates it in UITouch and UIEvent objects, propagates it through UIApplication to the view hierarchy using hitTest and pointInside, and finally processes it via UIResponder methods and the responder chain.

Mobile DevelopmentTouchEventUIResponder
0 likes · 10 min read
How iOS Touch Events Are Generated, Propagated, and Handled
Youzan Coder
Youzan Coder
Mar 26, 2021 · Mobile Development

Dynamic Domain Name Implementation in Mobile Apps

The article explains how to implement dynamic domain name switching in mobile apps across iOS, Android, Flutter, and H5 by using a configuration center and native network interception techniques such as NSURLProtocol, OkHttp instrumentation, texture bridging, and frontend configuration to resolve regional DNS issues and enable extended features like request statistics and custom responses.

AndroidDynamic DomainFlutter
0 likes · 10 min read
Dynamic Domain Name Implementation in Mobile Apps
58 Tech
58 Tech
Mar 26, 2021 · Mobile Development

Startup Optimization Practices for 58 Tongcheng iOS App: Measurement, Method Timing Detection, Binary Reordering, and Lazy Loading

This article details how 58 Tongcheng improved iOS app startup speed by defining launch time, building automated measurement tools, detecting slow methods via hooking, applying binary reordering with Clang sanitizers, and implementing dynamic library lazy loading, achieving significant reductions in launch latency and page faults.

Binary ReorderingPerformance Optimizationapp startup
0 likes · 25 min read
Startup Optimization Practices for 58 Tongcheng iOS App: Measurement, Method Timing Detection, Binary Reordering, and Lazy Loading
ByteFE
ByteFE
Mar 18, 2021 · Mobile Development

iOS App Package Size Optimization: Strategies and Practices at ByteDance

This article details ByteDance's iOS team approaches to reducing app package size—including resource compression, Assets.car merging, text file zipping, and Mach‑O binary optimizations such as -Oz, LTO, exported symbols, property dynamic handling, __TEXT segment migration, and binary segment compression—resulting in multi‑megabyte savings and improved download performance.

Asset CatalogBinary CompressionMach-O
0 likes · 14 min read
iOS App Package Size Optimization: Strategies and Practices at ByteDance
Sohu Tech Products
Sohu Tech Products
Mar 17, 2021 · Mobile Development

Understanding CADisplayLink, RunLoop, and CoreAnimation in iOS Rendering

This article explains how CADisplayLink registers VSync signals via a mach port, how RunLoop sources and observers process those signals, the impact of adding multiple display links, and the role of CATransaction in committing layer updates and driving iOS UI animation.

CADisplayLinkCoreAnimationMobile Development
0 likes · 12 min read
Understanding CADisplayLink, RunLoop, and CoreAnimation in iOS Rendering