【发布时间】:2014-08-07 07:57:21
【问题描述】:
我正在使用 theos,并且我能够 %hook 整个 YouTube 的功能,但我无法弄清楚如何将 UIButton 添加到 YTMainVideoPlayerOverlayView 类的视图中
这是我正在学习的课程。
YTMainVideoPlayerOverlayView.h
我正在考虑使用这些方法中的任何一种
- (void)setVideoButtonsForLayout:(int)arg1;
- (void)setPlayerViewLayout:(int)arg1;
- (void)layoutSubviews;
- (id)init;
我也发现了这个,可能是在使用CGRectMake时
- (float)topButtonsXOffset;
任何人都可以给我一个提示或示例,(请)关于如何 %hook 并能够添加UIButton 与代表请。
【问题讨论】:
标签: ios youtube jailbreak theos cydia-substrate