# 悬停详解 **Repository Path**: xudoubi/hover_detail ## Basic Information - **Project Name**: 悬停详解 - **Description**: No description available - **Primary Language**: Objective-C - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-03-01 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 悬停详解 主要思路: 1、在scrollview上添加headview 和tableview; 2、在headview 底部添加 悬浮视图(黄色) 3、当scrollview 滚动到悬停位置的时候,发送name 为 @“atTop” 的通知,并且将自身偏移量设置为定值; 4、scrollview 上的tableview, 接受到通知之后,可以进行滚动; 并且当tableview偏移量小于0的时候,发送name 为 @“leTop”的通知,并且将自身偏移量设置为CGPointZero; 5、不管是父视图scrollview,还是子视图tableview,只要在不能滚动的状态下,偏移量都是定死的;scrollview 定死在 悬停位置;tableview定死在CGPointZero位置;