Tagged articles
1 articles
Page 1 of 1
Baidu Geek Talk
Baidu Geek Talk
Apr 7, 2022 · Mobile Development

Uncovering NSTimer Memory Leaks, Android Focus Mechanics, and Cookie Management

This article analyzes why NSTimer can cause memory leaks in iOS, presents two ways to break the retain cycle, then dives into Android's focus system—including acquisition, distribution, and clearing—and finally explains how WebView and native code handle cookies on Android.

Android FocusCookie ManagementMobile Development
0 likes · 16 min read
Uncovering NSTimer Memory Leaks, Android Focus Mechanics, and Cookie Management