Tagged articles
1034 articles
Page 2 of 11
HelloTech
HelloTech
Apr 18, 2024 · Mobile Development

Understanding JSBridge in Hybrid Mobile App Development

JSBridge is a bidirectional communication layer that lets hybrid mobile apps combine native performance with web flexibility by allowing JavaScript to invoke native functions and native code to call back into the WebView, using techniques such as URL schemes, injected APIs, and platform‑specific evaluateJavascript methods.

AndroidHybrid AppJSBridge
0 likes · 13 min read
Understanding JSBridge in Hybrid Mobile App Development
Sohu Tech Products
Sohu Tech Products
Apr 17, 2024 · Mobile Development

Designing a Dynamic Performance‑Degradation System for iOS & Android Apps

An in‑depth guide shows how to build a client‑side dynamic degradation framework for iOS and Android that monitors CPU, memory, battery and network speed, classifies them into levels, and notifies the business layer to adapt UI and network usage for smoother user experience.

AndroidBattery ManagementDynamic Degradation
0 likes · 15 min read
Designing a Dynamic Performance‑Degradation System for iOS & Android Apps
Soul Technical Team
Soul Technical Team
Apr 15, 2024 · Mobile Development

Integrating React Native 0.72.10 into an Existing Mobile App: Challenges, Project Structure, and Platform-specific Solutions

This article details the process of introducing React Native 0.72.10 into an existing mobile application, covering the rationale for selection, project structure adjustments, iOS and Android integration challenges, script modifications, dependency management, and solutions to common issues such as path configuration, Gradle compatibility, and library conflicts.

AndroidIntegrationReact Native
0 likes · 21 min read
Integrating React Native 0.72.10 into an Existing Mobile App: Challenges, Project Structure, and Platform-specific Solutions
Huolala Tech
Huolala Tech
Apr 9, 2024 · Mobile Development

How to Securely Add Fingerprint & Face ID Login to Your iOS App with ECDSA

This article walks through the design, security considerations, and step‑by‑step implementation of fingerprint and face‑recognition login for an iOS driver app, covering biometric enable/disable, server‑side verification, auth‑code replay protection, ECDSA signing, keychain management, and common pitfalls.

BiometricsECDSAKeychain
0 likes · 22 min read
How to Securely Add Fingerprint & Face ID Login to Your iOS App with ECDSA
Java Tech Enthusiast
Java Tech Enthusiast
Mar 30, 2024 · Mobile Development

Firefox for iOS Removes Night Mode, Triggers User Outcry

Firefox for iOS version 124 stripped the night‑mode setting from half its users in a gray‑scale data‑gathering test, prompting fierce backlash from light‑sensitive users, while the three‑engineer team blamed a deteriorated codebase for the month‑long effort and pledged a full refactor by year‑end despite Apple’s restrictive iOS ecosystem.

Firefoxaccessibilitycode quality
0 likes · 3 min read
Firefox for iOS Removes Night Mode, Triggers User Outcry
Sohu Tech Products
Sohu Tech Products
Mar 27, 2024 · Mobile Development

How to Convert Intel macOS Libraries to arm64 for Apple Silicon Simulators

This guide explains why Intel‑based macOS libraries need architecture conversion for Apple Silicon simulators, compares XCFramework and Rosetta solutions, and provides a step‑by‑step method using lipo, ar, and custom Swift code to replace load commands and rebuild arm64 binaries for simulator use.

ARM64BinaryMach-O
0 likes · 9 min read
How to Convert Intel macOS Libraries to arm64 for Apple Silicon Simulators
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Mar 21, 2024 · Mobile Development

Payment Link Optimization Practices for NetEase Cloud Music

In 2023 NetEase Cloud Music’s membership team overhauled its payment link by optimizing React‑Native checkout pages, pre‑fetching iOS IAP data, updating Android third‑party SDKs, and adding failure‑reminder SMS, boosting FCP and LCP scores, purchase UV, conversion, and overall payment success rates.

AndroidHermesIAP
0 likes · 14 min read
Payment Link Optimization Practices for NetEase Cloud Music
Sohu Tech Products
Sohu Tech Products
Feb 21, 2024 · Fundamentals

Unlocking iOS Debugging: A Deep Dive into DWARF and dSYM

This article explains the DWARF debugging information format, its role in iOS development, how dSYM files store DWARF data, the structure of compilation units and DIEs, key DW_TAG and DW_AT attributes, UUID matching, and practical dwarfdump commands for symbolication.

DWARFDebuggingdSYM
0 likes · 10 min read
Unlocking iOS Debugging: A Deep Dive into DWARF and dSYM
Sohu Tech Products
Sohu Tech Products
Jan 31, 2024 · Fundamentals

Understanding Mach-O: Structure, Definitions, and Practical Applications

Mach‑O is the macOS and iOS binary format whose header, load commands, and __TEXT/__DATA sections define executable, library, and symbol information, enabling developers to understand loading, linking, and startup performance, and to implement custom initialization hooks or modular launch tasks via custom data sections.

Binary FormatClangMach-O
0 likes · 10 min read
Understanding Mach-O: Structure, Definitions, and Practical Applications
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Jan 31, 2024 · Mobile Development

How NetEase Cloud Music Achieved Seamless RN Upgrades with a Dual‑Dynamic‑Library Gray Release

This article details NetEase Cloud Music's engineering solution for gradually upgrading its iOS React Native version using a dual dynamic‑library gray‑release strategy, covering background, challenges, symbol handling, code modifications, and practical issues to enable zero‑impact, data‑driven rollouts.

AB testingReact NativeSymbol Binding
0 likes · 14 min read
How NetEase Cloud Music Achieved Seamless RN Upgrades with a Dual‑Dynamic‑Library Gray Release
Java Tech Enthusiast
Java Tech Enthusiast
Jan 31, 2024 · Mobile Development

Apple's EU iOS Side‑Load Policy and Detection Mechanisms

From March 2024, Apple will roll out EU‑only rules that permit iOS sideloading, open browsers, default‑browser choice, and alternative stores and payments, while requiring sideloaded apps to pass Apple’s certification, and limiting the feature to verified EU users through Apple‑ID billing address, device region, type and location data, with a special detection check for mainland‑China models based on known iOS code and community guesses.

AppleEUMobile Development
0 likes · 3 min read
Apple's EU iOS Side‑Load Policy and Detection Mechanisms
IT Services Circle
IT Services Circle
Jan 28, 2024 · Mobile Development

Apple’s EU DMA‑Driven Changes to iOS, App Store, and Alternative App Distribution

Apple announced a series of iOS, browser, App Store, alternative payment, and developer fee changes required by the EU Digital Markets Act, introducing new APIs, security safeguards, alternative app store options, and revised commission structures that will roll out with iOS 17.4 in the European Economic Area.

Alternative App StoreApp StoreApple
0 likes · 8 min read
Apple’s EU DMA‑Driven Changes to iOS, App Store, and Alternative App Distribution
Bilibili Tech
Bilibili Tech
Jan 26, 2024 · Game Development

Design and Automation of OneSDK and Packaging Tool for Global Game Distribution

The article describes how Bilibili created OneSDK and a macOS packaging tool that automatically selects and inserts the appropriate regional game SDKs, unifying APIs, eliminating manual configuration, and cutting integration effort by roughly 60% through Ruby‑based project manipulation and a Flutter UI.

AndroidGame DevelopmentPackaging Tool
0 likes · 16 min read
Design and Automation of OneSDK and Packaging Tool for Global Game Distribution
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 16, 2024 · Mobile Development

Lessons and Solutions from Three Months of uniapp Multi‑Platform Development

This article shares a three‑month experience of developing and maintaining a uniapp multi‑platform project, detailing challenges such as Android camera crashes, in‑app notifications, iOS side‑swipe back, Xiaomi browser swipe conflicts, background timers, keyboard height detection, and proposes practical solutions and refactoring ideas.

AndroidDebuggingUniapp
0 likes · 15 min read
Lessons and Solutions from Three Months of uniapp Multi‑Platform Development
Huolala Tech
Huolala Tech
Jan 9, 2024 · Mobile Development

Dynamic iOS Routing Made Easy with TheRouterSwift and Service Integration

Discover TheRouterSwift, a Swift-based routing framework from Huolala that offers lazy registration, dynamic route handling, service injection, interceptors, caching, and redirection, enabling seamless navigation across iOS modules and facilitating cross‑platform compatibility with Android through flexible URL mapping and remote configuration.

Dynamic RegistrationService InjectionSwift
0 likes · 20 min read
Dynamic iOS Routing Made Easy with TheRouterSwift and Service Integration
Sohu Tech Products
Sohu Tech Products
Jan 3, 2024 · Mobile Development

UICollectionViewCompositionalLayout Complete Guide

This guide explains how iOS 13’s UICollectionViewCompositionalLayout, together with Diffable Data Source, lets developers define items, groups, and sections using flexible size specifications, nested groups, orthogonal scrolling, custom and supplementary views, and background decorations to build complex, dynamic collection view layouts.

Compositional LayoutDiffable Data SourceMobile Development
0 likes · 26 min read
UICollectionViewCompositionalLayout Complete Guide
Baidu Geek Talk
Baidu Geek Talk
Dec 27, 2023 · Mobile Development

Mastering Swift in Baidu App: Common Pitfalls and Practical Solutions

This guide explores Swift's advantages for iOS development, outlines suitable migration scenarios, and provides detailed solutions for common issues such as string handling, error management, access control, JSON parsing, initialization rules, Objective‑C interop, modulemap configuration, and Library Evolution constraints.

Error HandlingInitializationLibrary Evolution
0 likes · 16 min read
Mastering Swift in Baidu App: Common Pitfalls and Practical Solutions
Baidu Geek Talk
Baidu Geek Talk
Dec 25, 2023 · Information Security

Anti‑Screenshot and Screen‑Recording Protection Strategies for Mobile Applications (iOS & Android)

This article explains how to prevent screenshots and screen recordings on Android by using FLAG_SECURE and on iOS by monitoring screenshot and capture notifications, detailing the Baidu Account SDK’s cross‑platform implementation and emphasizing the importance of such protections for apps handling sensitive user data.

AndroidFLAG_SECUREMobile Security
0 likes · 10 min read
Anti‑Screenshot and Screen‑Recording Protection Strategies for Mobile Applications (iOS & Android)
Tencent Music Tech Team
Tencent Music Tech Team
Dec 22, 2023 · Mobile Development

Root Cause Analysis of iOS Crash Caused by Method Swizzle on NSString

The app crashed on launch because a third‑party SDK swizzled NSString’s stringByAppendingString: with a method whose name conflicted with the app’s own swizzle, causing recursive calls through the __NSCFString class‑cluster and a stack overflow; renaming the methods with a unique prefix and excluding __NSCFString from swizzling resolves the issue.

Class ClusterMethod SwizzleObjective‑C
0 likes · 11 min read
Root Cause Analysis of iOS Crash Caused by Method Swizzle on NSString
Sohu Tech Products
Sohu Tech Products
Dec 20, 2023 · Mobile Development

Guide to Re-signing iOS IPA Files for Custom Apps and WeChat Duplication

This guide walks you through re‑signing an iOS IPA with a personal developer account—download and unzip the IPA, change the bundle identifier, replace the embedded provisioning profile, re‑sign the app and any frameworks using your certificate and generated entitlements, re‑zip the payload, and install the new IPA via Xcode.

Code SigningIPARe‑signing
0 likes · 7 min read
Guide to Re-signing iOS IPA Files for Custom Apps and WeChat Duplication
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Dec 19, 2023 · Mobile Development

A One‑Stop UI Automation Testing Framework for NetEase Cloud Music

To meet NetEase Cloud Music’s tight regression schedule, the team built Athena, a one‑stop UI automation framework that combines record‑and‑play case entry, Dawn telemetry‑based stable element locating, white‑box communication for efficiency, and integrated network‑mock and multi‑account support, delivering 73% coverage, over 90% success, and cutting regression time by more than 60%.

Androidcontinuous integrationiOS
0 likes · 14 min read
A One‑Stop UI Automation Testing Framework for NetEase Cloud Music
Tencent Music Tech Team
Tencent Music Tech Team
Dec 14, 2023 · Mobile Development

iOS 17 Widget Extension Development Practices and Solutions

The Kuwo Music team shares practical iOS 17 widget‑extension lessons, detailing container‑background adaptation, borderless button styling, AppIntent communication and hidden shortcuts, Link‑based navigation, lyric animation, refresh‑rate throttling, and splitting WidgetBundles to bypass the ten‑widget limit, all with ready‑to‑copy SwiftUI code.

AppIntentExtensionSwiftUI
0 likes · 27 min read
iOS 17 Widget Extension Development Practices and Solutions
Sohu Tech Products
Sohu Tech Products
Dec 13, 2023 · Mobile Development

Swift–Kotlin Interoperability in Compose for iOS

This article demonstrates how to bridge Swift and Kotlin in a Compose‑Multiplatform iOS app by using Swift view modifiers to detect orientation changes and call Kotlin functions, while exposing Kotlin callbacks that Swift registers to change device orientation, enabling seamless two‑way platform‑specific logic integration.

Compose MultiplatformInteroperabilityKotlin
0 likes · 9 min read
Swift–Kotlin Interoperability in Compose for iOS
php Courses
php Courses
Dec 8, 2023 · Information Security

Critical Bluetooth Vulnerability CVE-2023-45866 Affects Android, iOS, Linux, and macOS

A high‑severity Bluetooth vulnerability (CVE‑2023‑45866) discovered by SkySafe researcher Marc Newlin allows attackers to bypass authentication, pair a fake keyboard, and execute code on Android, iOS, Linux, and macOS devices, with Google’s December Android security update already addressing the issue.

AndroidBluetoothCVE-2023-45866
0 likes · 2 min read
Critical Bluetooth Vulnerability CVE-2023-45866 Affects Android, iOS, Linux, and macOS
JD Retail Technology
JD Retail Technology
Dec 7, 2023 · Mobile Development

Cross‑Platform Dynamic Development with MCube: Practices, Architecture, and Lessons Learned

This article details the MCube dynamic‑UI solution for mobile apps, covering the background of high development costs, the reasons for choosing MCube, the implementation of single‑floor and full‑page dynamic transformations, data‑structure redesign, common pitfalls, and best‑practice recommendations for both iOS and Android.

AndroidDynamic UIMCube
0 likes · 12 min read
Cross‑Platform Dynamic Development with MCube: Practices, Architecture, and Lessons Learned
Weimob Technology Center
Weimob Technology Center
Dec 5, 2023 · Mobile Development

How Virtual Routing Boosts Cross-Platform Mobile App Navigation

This article introduces a virtual routing framework for mobile applications that unifies page navigation across Android, iOS, and mini-programs, enabling dynamic URL distribution, platform-specific configurations, version-based routing, and reduced maintenance, while detailing architecture, implementation steps, and code examples.

AndroidDynamic ConfigurationMini Program
0 likes · 11 min read
How Virtual Routing Boosts Cross-Platform Mobile App Navigation
JD Cloud Developers
JD Cloud Developers
Nov 23, 2023 · Mobile Development

How to Optimize iOS App Size with the Open‑Source APPAnalyze Tool

This article introduces APPAnalyze, an open‑source script that scans iOS .ipa binaries to automatically detect package‑size problems, generates detailed size reports, and provides configurable rules and fixes to help developers efficiently reduce app bundle size.

Mobile Developmentapp size optimizationiOS
0 likes · 16 min read
How to Optimize iOS App Size with the Open‑Source APPAnalyze Tool
Airbnb Technology Team
Airbnb Technology Team
Nov 17, 2023 · Mobile Development

Airbnb’s Journey from Epoxy/UIKit to SwiftUI: Evaluation, Migration, and Lessons Learned

Airbnb’s three‑stage migration from its custom Epoxy/UIKit stack to SwiftUI involved extensive evaluation, rebuilding the design system with flexible style protocols, bridging UIKit and SwiftUI, adopting one‑way data flow, extensive testing and training, resulting in six‑fold code reduction, comparable performance, widespread production adoption, and higher developer productivity despite remaining framework challenges.

AirbnbDeclarative UIEpoxy
0 likes · 17 min read
Airbnb’s Journey from Epoxy/UIKit to SwiftUI: Evaluation, Migration, and Lessons Learned
Baidu App Technology
Baidu App Technology
Nov 16, 2023 · Mobile Development

How Baidu’s iOS App Cut 30 MB with Compiler and Architecture Optimizations

This article details Baidu APP’s iOS package‑size optimization series, focusing on compiler tweaks (GCC, Swift, LTO, symbol stripping, dead‑code removal, asset catalog settings, C++ virtual‑function reduction, third‑party SDK slimming), instruction‑set pruning, Xcode‑14 improvements, and Swift dynamic‑library handling, together with concrete Xcode configuration steps and measured size gains.

Compiler OptimizationLTOPackage Size Optimization
0 likes · 21 min read
How Baidu’s iOS App Cut 30 MB with Compiler and Architecture Optimizations
Sohu Tech Products
Sohu Tech Products
Nov 8, 2023 · Mobile Development

How to Build a Robust Multi‑File Parallel Upload System for Mobile Apps

This article explains a complete design for uploading multiple video files from mobile apps, covering task management, resumable (MD5‑based) upload, chunked multipart form‑data handling, dynamic concurrency, memory‑efficient file streaming, error‑case handling, and provides concrete iOS code examples.

chunked uploadfile uploadiOS
0 likes · 11 min read
How to Build a Robust Multi‑File Parallel Upload System for Mobile Apps
DaTaobao Tech
DaTaobao Tech
Nov 6, 2023 · Mobile Development

Analyzing and Fixing iOS 16 WKWebView Crash via Reverse Engineering and Hooking

By reverse‑engineering the iOS 16 WKWebView image‑analysis crash, the team identified a nil‑buffer bug in VisionKitCore’s CGImage creation, then mitigated it by runtime‑hooking VKCRemoveBackgroundResult’s createCGImage (returning NULL) and suppressing the image‑analysis gesture, reducing crashes from thousands to near zero.

AssemblyCrashAnalysisHooking
0 likes · 29 min read
Analyzing and Fixing iOS 16 WKWebView Crash via Reverse Engineering and Hooking
Sohu Tech Products
Sohu Tech Products
Nov 1, 2023 · Mobile Development

Compose-Multiplatform Cross-Platform Development Guide: From Setup to Rendering Principles

This guide walks developers through setting up Compose‑Multiplatform, implementing a Ktor‑based network layer, designing shared data models, building a LazyColumn UI, and explains Android rendering internals—from LayoutNode creation to Skiko drawing—while comparing the framework to Flutter and highlighting its low learning curve.

AndroidCompose-MultiplatformJetpack Compose
0 likes · 18 min read
Compose-Multiplatform Cross-Platform Development Guide: From Setup to Rendering Principles
Sohu Tech Products
Sohu Tech Products
Oct 25, 2023 · Mobile Development

Mastering iOS 14 PHPicker: Access Limited Photos Without Permissions

This article explains how to correctly use the iOS 14 PHPicker API to let users select a limited set of photos without requesting full library permission, covering component basics, configuration, common pitfalls, proper data loading, handling special formats, and progress monitoring with Swift code examples.

EXIFLimited AccessNSItemProvider
0 likes · 13 min read
Mastering iOS 14 PHPicker: Access Limited Photos Without Permissions
Baidu Geek Talk
Baidu Geek Talk
Oct 23, 2023 · Mobile Development

How Python Automates iOS Code Refactoring: A Step‑by‑Step Guide

This article explains how to use Python scripts to automate the analysis and refactoring of iOS configuration data items in Baidu App, detailing the extraction of public properties, usage detection across modules, CSV reporting, and the overall refactoring workflow to improve maintainability and reduce risk.

AutomationCSV exportCode Refactoring
0 likes · 16 min read
How Python Automates iOS Code Refactoring: A Step‑by‑Step Guide
Architect
Architect
Oct 22, 2023 · Game Development

Design and Implementation of a Lightweight Map Solution for King of Glory Using Unity and Native Views

This article details the end‑to‑end design, technical selection, and implementation of a lightweight map solution for the mobile game King of Glory, covering cross‑platform UI framework, Unity‑native view integration, data transmission via JCE, handling of Android/iOS click events, immersive mode, and nine‑patch image support.

AndroidGame DevelopmentMap Integration
0 likes · 33 min read
Design and Implementation of a Lightweight Map Solution for King of Glory Using Unity and Native Views
Tencent Music Tech Team
Tencent Music Tech Team
Oct 20, 2023 · Mobile Development

Root Cause Analysis of OOM Crash in iOS Karaoke App Caused by Swizzled NSMutableArray Protection

An OOM crash in the K‑song iOS karaoke app was traced to a configuration that swizzled several NSMutableArray methods, causing each observer lookup to autorelease objects, rapidly filling autorelease‑pool pages and exhausting memory; converting the protection code to manual reference counting eliminated the leak and stopped the crashes.

AutoreleasePoolOOMObjective‑C
0 likes · 21 min read
Root Cause Analysis of OOM Crash in iOS Karaoke App Caused by Swizzled NSMutableArray Protection
WeChat Client Technology Team
WeChat Client Technology Team
Oct 11, 2023 · Mobile Development

How We Cut iOS Live‑Stream Power Use by Tuning Animation Frame Rates

This article details how the WeChat client team identified excessive GPU usage caused by like‑animation frames in iOS video‑channel live streams and applied iOS 15's preferredFrameRateRange API along with custom animation handling to lower frame rates, reduce power consumption, and maintain user experience.

Frame RatePower Optimizationanimation
0 likes · 21 min read
How We Cut iOS Live‑Stream Power Use by Tuning Animation Frame Rates
Java Architect Essentials
Java Architect Essentials
Oct 8, 2023 · Industry Insights

Why Are Shell Apps Still Surging on the App Store? An Inside Look

The article examines the recurring wave of shell apps on the App Store, highlighting how disguised learning tools with illicit content climb the free‑app rankings, why Apple's removal process is sluggish, and what challenges the current review system faces in curbing such violations.

App StoreShell AppsiOS
0 likes · 2 min read
Why Are Shell Apps Still Surging on the App Store? An Inside Look
Alibaba Terminal Technology
Alibaba Terminal Technology
Sep 28, 2023 · Mobile Development

How Hema Integrated iOS Live Activities and Huawei HarmonyOS Real‑Time Notifications for Delivery & Dining

This article details Hema's technical implementation of iOS Live Activities and Huawei HarmonyOS real‑time notifications across delivery and in‑store dining scenarios, covering background, deployment timeline, notification content design, integration steps, push token handling, activity ID generation, UI adaptations, edge‑case handling, and future expansion plans.

HuaweiLive ActivitiesMobile Development
0 likes · 13 min read
How Hema Integrated iOS Live Activities and Huawei HarmonyOS Real‑Time Notifications for Delivery & Dining
Sohu Tech Products
Sohu Tech Products
Sep 20, 2023 · Mobile Development

Memory Optimization and GPUImage‑Based Gaussian Blur for iOS Live‑Stream Images

The iOS live‑stream app was crashing from out‑of‑memory due to high‑resolution images and CPU‑based Gaussian blur, so the solution reduced download size, skipped downloads during fast scrolling, limited cached blurred images, and switched to GPUImage‑accelerated blur with a custom composite shader, cutting memory use and processing time.

GPUImageGaussian BlurImage Processing
0 likes · 12 min read
Memory Optimization and GPUImage‑Based Gaussian Blur for iOS Live‑Stream Images
Baidu Geek Talk
Baidu Geek Talk
Sep 20, 2023 · Backend Development

How Baidu Cut iOS App Size by Removing Unused Methods with LLVM Libtooling

Baidu reduced the iOS app package by over 350 MB by discarding dead code, replacing unreliable Mach‑O analysis with a source‑level AST approach built on LLVM libtooling and the Swift compiler, and implementing a multi‑layer static‑analysis pipeline that extracts, transforms, stores, and filters method usage data.

ASTLLVMapp size optimization
0 likes · 17 min read
How Baidu Cut iOS App Size by Removing Unused Methods with LLVM Libtooling
Tencent Music Tech Team
Tencent Music Tech Team
Sep 15, 2023 · Mobile Development

Parsing and Using NinePatch PNG Images for Resizable UI Elements

The article explains how to create, parse, and use NinePatch (.9.png) images by extracting the custom “npTc” chunk from a PNG file, building a PNGNinePatch object in Objective‑C, and converting its stretchable region data into UIEdgeInsets for resizable iOS UI elements.

AndroidCapInsetsMobile Development
0 likes · 13 min read
Parsing and Using NinePatch PNG Images for Resizable UI Elements
Sohu Tech Products
Sohu Tech Products
Sep 13, 2023 · Mobile Development

iOS Interaction Blocking: Intercepting User Events at UIApplication Level

To globally block all user interactions—including touches, motion, remote control, and press events—developers can subclass UIApplication and override its sendEvent: method, providing a disableUserInteraction: API with timed re‑enabling and a counter to safely manage concurrent disable requests.

Mobile DevelopmentObjective‑CSwift
0 likes · 8 min read
iOS Interaction Blocking: Intercepting User Events at UIApplication Level
Alipay Experience Technology
Alipay Experience Technology
Sep 8, 2023 · Mobile Development

Uncovering the iOS 16 Keyboard Crash: Root Cause, Reverse‑Engineered Fix, and Zero‑Crash Deployment

This article details how a hidden memory‑management bug in iOS 16’s keyboard component caused massive crashes in the Alipay app, explains the reverse‑engineering process that identified the faulty UIKeyboardTaskQueue logic, and describes the assembly‑level patch that eliminated the issue across millions of devices.

AssemblyCrashKeyboard
0 likes · 27 min read
Uncovering the iOS 16 Keyboard Crash: Root Cause, Reverse‑Engineered Fix, and Zero‑Crash Deployment
Baidu Geek Talk
Baidu Geek Talk
Aug 23, 2023 · Mobile Development

Why MMKV Can Stall Your Mobile App and How to Fix It

The article analyzes IO‑intensive bottlenecks in mobile apps, explains how MMKV’s mmap‑based storage, rewrite, and expansion mechanisms cause main‑thread stalls, and presents concrete optimizations such as value comparison before write, pre‑expansion, compression, expiration handling, and proper instance management to dramatically reduce latency.

AndroidIO optimizationMMKV
0 likes · 26 min read
Why MMKV Can Stall Your Mobile App and How to Fix It
Huolala Tech
Huolala Tech
Aug 8, 2023 · Mobile Development

TheRouter-iOS: A Lightweight Routing Middleware for Mobile Apps

TheRouter-iOS is a lightweight, annotation‑driven routing middleware that brings Java‑style dependency injection, hard‑code elimination, dynamic redirection, interceptors, and flexible navigation to iOS, offering a unified solution for complex mobile architectures and seamless integration with Android and web components.

Mobile Developmentannotationdependency-injection
0 likes · 13 min read
TheRouter-iOS: A Lightweight Routing Middleware for Mobile Apps
Baidu Geek Talk
Baidu Geek Talk
Jul 31, 2023 · Mobile Development

Optimizing iOS App Bundle Size with HEIC Images and Unused Class Detection

The guide shows how to shrink a Baidu iOS app by converting PNGs to HEIC within Asset Catalogs—leveraging Xcode’s actool for compression, avoiding pngquant‑induced alpha issues, and employing combined static LinkMap/Mach‑O parsing and runtime isa‑flag checks to prune never‑instantiated classes.

Asset CatalogHEICUnused Class Detection
0 likes · 25 min read
Optimizing iOS App Bundle Size with HEIC Images and Unused Class Detection
Qunar Tech Salon
Qunar Tech Salon
Jul 27, 2023 · Mobile Development

Implementing iOS Live Activities for Real‑Time Travel Information in Qunar

This article explains how Qunar integrated iOS 16 Live Activities to display real‑time travel updates on the lock screen and Dynamic Island, covering background, feature comparison, requirements, system design, Swift implementation, push‑based updates, debugging tips, and lessons learned.

ActivityKitLive ActivitiesMobile Development
0 likes · 17 min read
Implementing iOS Live Activities for Real‑Time Travel Information in Qunar
Baidu App Technology
Baidu App Technology
Jul 25, 2023 · Mobile Development

HEIC Image and Unused Class Optimization in Baidu iOS App

The article details Baidu’s iOS bundle‑size reduction strategy by converting PNG/JPG assets to HEIC using macOS tools or ImageMagick, storing them in Asset Catalogs for iOS 10+ compatibility, handling alpha‑channel quirks, and employing combined static‑link‑map and runtime class‑initialization analysis to safely prune unused Objective‑C classes.

Asset CatalogDynamic analysisHEIC
0 likes · 27 min read
HEIC Image and Unused Class Optimization in Baidu iOS App
Baidu Geek Talk
Baidu Geek Talk
Jul 17, 2023 · Mobile Development

How to Shrink Your iOS App: Mastering Link Map Analysis and Code Optimization

This article explains how to analyze Link Map files and apply code‑level optimizations—such as removing unused classes, modules, methods, duplicate code, and AB‑test branches—to significantly reduce the binary size of Baidu’s iOS app, providing scripts, commands, and practical tips for each step.

Code OptimizationLink MapMach-O
0 likes · 18 min read
How to Shrink Your iOS App: Mastering Link Map Analysis and Code Optimization
Bilibili Tech
Bilibili Tech
Jul 14, 2023 · Mobile Development

Bazel Modules, rules_xcodeproj, and Fastbuild Rule for iOS Monorepo at Bilibili

Bilibili’s iOS team migrated from the cumbersome WORKSPACE model to Bazel Modules, adopted the community‑maintained rules_xcodeproj to replace Tulsi, and built a custom Fastbuild rule that hashes source files to reuse binaries, cutting incremental build times from dozens of minutes to under two.

BazelBuild SystemFastbuild
0 likes · 22 min read
Bazel Modules, rules_xcodeproj, and Fastbuild Rule for iOS Monorepo at Bilibili
Sohu Tech Products
Sohu Tech Products
Jul 12, 2023 · Fundamentals

The Mystery of Character Encoding: Unicode, UTF‑8, UTF‑16, GBK and Emoji

This article explains the fundamentals of character encoding, covering Unicode’s universal character set, the structure of its planes and surrogate areas, the variable‑length UTF‑8 and UTF‑16 encodings, Chinese‑specific GBK encoding, and practical iOS code examples for handling Unicode, emojis and regular‑expression based Chinese character detection.

EmojiGBKUTF-8
0 likes · 12 min read
The Mystery of Character Encoding: Unicode, UTF‑8, UTF‑16, GBK and Emoji
Baidu Geek Talk
Baidu Geek Talk
Jul 12, 2023 · Mobile Development

How Baidu’s iOS Long‑Connection SDK Powers Real‑Time Mobile Apps

This article examines the evolution of long‑connection technology for mobile apps, outlines Baidu’s unified long‑connection service architecture, details the iOS SDK’s design choices—including protocol selection, DNS optimization, token handling, heartbeat and reconnection mechanisms—and demonstrates its real‑time messaging use cases within the Baidu App.

Mobile NetworkingSDKiOS
0 likes · 20 min read
How Baidu’s iOS Long‑Connection SDK Powers Real‑Time Mobile Apps
Baidu App Technology
Baidu App Technology
Jul 10, 2023 · Mobile Development

Baidu App iOS Package Size Optimization: Code Optimization Techniques

The article explains how Baidu App reduces its iOS package size by analyzing Link Map files and applying six code‑optimization techniques—unused class and module slimming, unused method pruning with LLVM, duplicate‑code detection, utility‑method consolidation, and A/B‑test hardening—yielding up to 8 MB of savings.

AB testingLink MapMach-O
0 likes · 15 min read
Baidu App iOS Package Size Optimization: Code Optimization Techniques
Kuaishou E-commerce Frontend Team
Kuaishou E-commerce Frontend Team
Jul 3, 2023 · Mobile Development

How to Handle Soft Keyboard Overlap in iOS, Android, and React Native

This article examines the differing behaviors of soft keyboards on iOS and Android in both H5 and React Native environments, identifies the challenges they cause for popup and textarea components, and presents cross‑platform solutions using KeyboardAvoidingView, resize listeners, and RN keyboard events to ensure input fields remain visible.

AndroidMobile UIReact Native
0 likes · 7 min read
How to Handle Soft Keyboard Overlap in iOS, Android, and React Native
Baidu Geek Talk
Baidu Geek Talk
Jul 3, 2023 · Mobile Development

Sweep Light Loading Effects: Principles and Cross‑Platform Implementation

Sweep‑light loading effects, such as skeleton‑screen and logo sweeps, improve perceived performance by overlaying a moving translucent gradient mask, and can be implemented on iOS using Core Animation layers and timers, while Android uses shape drawables, ObjectAnimator or Canvas PorterDuff blending, with theme and performance considerations.

AndroidCanvasCoreAnimation
0 likes · 16 min read
Sweep Light Loading Effects: Principles and Cross‑Platform Implementation
ByteDance Terminal Technology
ByteDance Terminal Technology
Jun 29, 2023 · Mobile Development

Migrating ByteDance's iOS Build System to Bazel: Challenges, Architecture, and Outcomes

The article details ByteDance's transition from CocoaPods‑based component management to a Bazel‑driven monorepo build system, describing the problems faced, the two‑stage migration process, the BitSky build service architecture, custom plugin mechanisms, and the performance gains achieved after the migration.

AutomationBazelBuild System
0 likes · 24 min read
Migrating ByteDance's iOS Build System to Bazel: Challenges, Architecture, and Outcomes
Huolala Tech
Huolala Tech
Jun 20, 2023 · Mobile Development

How to Prevent Webview Layout Breakage When Users Enable Large Font Mode

This article examines how enabling system-wide large‑font mode on Android and iOS can distort Webview layouts for driver‑focused apps, presents data on user font‑size usage, compares approaches from other apps, and offers practical CSS and code solutions to reliably disable or adapt to large fonts.

AndroidCSSLarge Font
0 likes · 11 min read
How to Prevent Webview Layout Breakage When Users Enable Large Font Mode
Sohu Tech Products
Sohu Tech Products
Jun 14, 2023 · Mobile Development

Understanding CADisplayLink, NSTimer, and RunLoop in iOS: Implementation, Issues, and Solutions

This article explains the principles, usage, and internal mechanisms of CADisplayLink and NSTimer in iOS, compares their advantages and drawbacks, discusses common pitfalls such as retain cycles, explores RunLoop modes and sources, and provides code examples and solutions for reliable timer handling.

CADisplayLinkMobile DevelopmentNSTimer
0 likes · 24 min read
Understanding CADisplayLink, NSTimer, and RunLoop in iOS: Implementation, Issues, and Solutions
Baidu Geek Talk
Baidu Geek Talk
Jun 5, 2023 · Mobile Development

Mach-O File Analysis and Resource Optimization for Baidu iOS App

The article explains how Baidu’s iOS app reduces package size by examining Mach‑O binaries with tools like otool and MachOView, then applying Python scripts to locate oversized assets, eliminate unused configuration files, and deduplicate resources, achieving a 12 MB reduction and a repeatable optimization pipeline.

Mach-OResource Optimizationbinary analysis
0 likes · 18 min read
Mach-O File Analysis and Resource Optimization for Baidu iOS App
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Jun 5, 2023 · Fundamentals

Understanding Swift SIL and Method Dispatch Mechanisms

Swift inserts the high‑level SIL intermediate representation between source code and LLVM, exposing type declarations, method blocks, and virtual tables, while supporting three dispatch strategies—direct for value types and final methods, VTable for regular class methods, and Objective‑C message dispatch for @objc dynamic methods—crucial for debugging mixed Swift/Objective‑C and protocol‑extension behavior.

LLVMMethod DispatchSIL
0 likes · 20 min read
Understanding Swift SIL and Method Dispatch Mechanisms
iQIYI Technical Product Team
iQIYI Technical Product Team
May 26, 2023 · Mobile Development

How We Cut Feed Lag in iQIYI Kids App: A Deep Dive into Mobile Performance Optimization

This case study details the performance bottlenecks of the iQIYI Kids feed on low‑end devices and presents a series of engineering solutions—including async card rendering, preloading strategies, image pre‑decoding, and cache optimizations—that reduced scroll hitch time to 1.4 ms, dramatically improving user experience.

Mobile DevelopmentPerformance Optimizationconcurrency
0 likes · 9 min read
How We Cut Feed Lag in iQIYI Kids App: A Deep Dive into Mobile Performance Optimization
Baidu Geek Talk
Baidu Geek Talk
May 23, 2023 · Mobile Development

Swift Optional Types: Common Pitfalls and Best Practices

The article explains common Swift optional pitfalls—such as forced unwrapping, misuse of implicitly‑unwrapped optionals, and unsafe type casting—and shows how proper optional binding, explicit Objective‑C nullability annotations, and cautious casting can prevent runtime crashes and improve code maintainability.

Code PracticesNullabilityObjective‑C
0 likes · 13 min read
Swift Optional Types: Common Pitfalls and Best Practices
21CTO
21CTO
May 19, 2023 · Artificial Intelligence

OpenAI’s ChatGPT iOS App Launches – Android Version Coming Soon

OpenAI has released a free iOS ChatGPT app with Whisper‑powered voice input and syncable chat history, promises an Android version in the coming weeks, and highlights speed improvements, privacy features, and its impact on third‑party alternatives.

AIAndroidChatGPT
0 likes · 4 min read
OpenAI’s ChatGPT iOS App Launches – Android Version Coming Soon
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
May 18, 2023 · Mobile Development

In‑App Purchase (IAP) Overview and Implementation Guide for iOS

The guide explains Apple’s four in‑app purchase types, how to create and configure products in App Store Connect, implements the StoreKit purchase flow (including product request, payment, transaction observation, and receipt verification on server), addresses common pitfalls, and introduces NetEase’s NEStoreKit wrapper for easier integration.

In-App PurchaseObjective‑CStoreKit
0 likes · 15 min read
In‑App Purchase (IAP) Overview and Implementation Guide for iOS
Sohu Tech Products
Sohu Tech Products
May 17, 2023 · Mobile Development

Comprehensive Guide to SwiftLint: Working Principles, Configuration, Custom Rules, and Performance Optimization

This article explains the workings of SwiftLint, a static code analysis tool for Swift, covering its architecture, built‑in rules, configuration options, custom rule creation, UIWebView deprecation detection, and advanced build‑time optimizations to improve linting efficiency in mobile development projects.

Build OptimizationCustom RulesMobile Development
0 likes · 20 min read
Comprehensive Guide to SwiftLint: Working Principles, Configuration, Custom Rules, and Performance Optimization
Tencent Cloud Developer
Tencent Cloud Developer
May 17, 2023 · Game Development

King of Glory Map Integration: UI Framework, Method Calls, and Cross‑Platform Event Handling

The article details a cross‑platform solution for embedding the King of Glory map into Unity, describing a native Android view integration, a three‑layer UI framework with JCE definitions, data‑driven method calls and callbacks, coordinate scaling, immersive mode handling, and Nine‑Patch rendering to achieve rapid, lightweight map deployment.

AndroidCross‑PlatformJCE
0 likes · 33 min read
King of Glory Map Integration: UI Framework, Method Calls, and Cross‑Platform Event Handling
Baidu Geek Talk
Baidu Geek Talk
May 16, 2023 · Mobile Development

Common Memory Leak Issues in Android and iOS Development

The article outlines frequent memory‑leak pitfalls in Android (such as anonymous inner classes, static singletons, unregistered listeners, unclosed streams, and lingering animations) and iOS (including block retain cycles, strong delegate references, NSTimer retention, unmanaged CoreFoundation objects, and dispatch_after), and provides concrete code‑level remedies to prevent out‑of‑memory crashes.

AndroidMobile Developmentbest practices
0 likes · 13 min read
Common Memory Leak Issues in Android and iOS Development
DaTaobao Tech
DaTaobao Tech
May 10, 2023 · Mobile Development

Multi-Code Scanning Framework and Optimization for Mobile Apps

The article details how a mobile app’s scanner was re‑engineered from single‑code to multi‑code detection by overhauling the logic pipeline, adding UI overlays, implementing a rotation‑and‑scale transformation algorithm, integrating iOS Vision alongside the existing SDK, applying confidence filtering, deduplication, edge‑intelligence prediction, and memory‑optimized caching, ultimately boosting recognition rates by over 30 percentage points and reducing miss‑detections.

Barcode ScanningMobile DevelopmentVision
0 likes · 11 min read
Multi-Code Scanning Framework and Optimization for Mobile Apps
Tencent Music Tech Team
Tencent Music Tech Team
May 9, 2023 · Mobile Development

Optimizing Animated Image Loading on iOS: Practices and Performance Comparison

The article explains how iOS’s lack of native GIF/WebP support leads to crashes when decoding all frames, and describes an optimized per‑frame loading component (QMAnimatedImageView) that uses CADisplayLink, NSCache, downsampling and memory‑limit tuning to dramatically reduce CPU, memory usage and jank while preserving smooth animation.

Animated ImagesMemory ManagementPerformance Optimization
0 likes · 22 min read
Optimizing Animated Image Loading on iOS: Practices and Performance Comparison
Baidu Geek Talk
Baidu Geek Talk
Apr 24, 2023 · Mobile Development

Image Optimization Techniques for Baidu iOS App: Unused Image Removal, Asset Catalog, and HEIC Encoding

The article details Baidu’s iOS image‑size reduction strategy, combining automated detection and removal of unused PNG/WebP assets, migration to Xcode’s Asset Catalog for lossless compression, and selective conversion to HEIC format, which together shaved roughly 9.75 MB from the app bundle.

App Size ReductionHEICPython script
0 likes · 18 min read
Image Optimization Techniques for Baidu iOS App: Unused Image Removal, Asset Catalog, and HEIC Encoding
DaTaobao Tech
DaTaobao Tech
Apr 21, 2023 · Mobile Development

Resolving Near-Field Blur on iPhone Pro Max via Camera Switching and Microscopy Capability

The iPhone 13/14 Pro Max near‑field blur was fixed by the Paizhil Tao team by replacing the deprecated AVCaptureDevice call with AVCaptureDeviceDiscoverySession, calibrating videoZoomFactor thresholds and leveraging the virtualDeviceSwitchOverVideoZoomFactors API to automatically switch between wide, telephoto and ultra‑wide lenses under suitable zoom, lighting and focus conditions, thereby restoring close‑up image clarity and boosting recognition performance.

AVCaptureDeviceCameraMicroscopy
0 likes · 13 min read
Resolving Near-Field Blur on iPhone Pro Max via Camera Switching and Microscopy Capability
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.

AndroidJSBridgeMobile Development
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.

architectureiOSinline video
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.

BackendConfigurationMobile
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 ProcessDARTEngine Upgrade
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 SlimmingImage ProcessingMobile Development
0 likes · 9 min read
OpenGLES 2D Lab: Face‑Slimming Photo Editing Demo (Second Edition)