<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>页面停留时长 on 知识铺的博客</title>
    <link>https://index.zshipu.com/geek002/tags/%E9%A1%B5%E9%9D%A2%E5%81%9C%E7%95%99%E6%97%B6%E9%95%BF/</link>
    <description>Recent content in 页面停留时长 on 知识铺的博客</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-CN</language>
    <lastBuildDate>Sat, 12 Oct 2024 05:45:33 +0000</lastBuildDate>
    <atom:link href="https://index.zshipu.com/geek002/tags/%E9%A1%B5%E9%9D%A2%E5%81%9C%E7%95%99%E6%97%B6%E9%95%BF/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>无侵入的iOS页面停留时长采集SDK</title>
      <link>https://index.zshipu.com/geek002/post/202410/%E6%97%A0%E4%BE%B5%E5%85%A5%E7%9A%84iOS%E9%A1%B5%E9%9D%A2%E5%81%9C%E7%95%99%E6%97%B6%E9%95%BF%E9%87%87%E9%9B%86SDK--%E7%9F%A5%E8%AF%86%E9%93%BA/</link>
      <pubDate>Sat, 12 Oct 2024 05:45:33 +0000</pubDate>
      <guid>https://index.zshipu.com/geek002/post/202410/%E6%97%A0%E4%BE%B5%E5%85%A5%E7%9A%84iOS%E9%A1%B5%E9%9D%A2%E5%81%9C%E7%95%99%E6%97%B6%E9%95%BF%E9%87%87%E9%9B%86SDK--%E7%9F%A5%E8%AF%86%E9%93%BA/</guid>
      <description>为了研发一个无侵入的 iOS 页面停留时长采集 SDK，您可以采用AOP（面向切面编程）的方法，结合Runtime 动态替换 UIViewController 的生命周期方法，实现无侵入的埋点方案。 下面是一个全面的 SDK 实现步骤，主要包括 Runtime 方法交换和自动埋点功能，确保不需要开发者在每个 UIViewController 中手动添加代码。 1. SDK 实现思路 Runtime 交换方法：使</description>
    </item>
  </channel>
</rss>
