简体   繁体   English

iPhone来电查看类?

[英]iPhone incoming call view class?

I´m developing a theos tweak and I would like to modify mainly the incoming call view (iOS 5 and iOS 6). 我正在进行theos调整,我主要想修改来电视图(iOS 5和iOS 6)。 I would appreciate the name of the class that handle this view for hook into it´s methods. 我很高兴能处理此视图的类的名称,以挂接到它的方法中。 I already try MPIncomingPhoneCallController and SBCallAlertDisplay and none of those had worked for me. 我已经尝试过MPIncomingPhoneCallControllerSBCallAlertDisplay ,但这些都不适合我。

来电视图屏幕截图

If you dump the headers on the InCallService.app (phone app), you will see a PHAlert class with a method called - (void)showOnViewController:(id)arg1; 如果将标头转储到InCallService.app (电话应用程序)上,则会看到PHAlert类,该类具有名为- (void)showOnViewController:(id)arg1; . This will display the "incoming call" view on top of any UIViewController . 这将在任何UIViewController顶部显示“来电”视图。 You can use this with the frontmost application: [[SpringBoard sharedApplication] _accessibilityFrontMostApplication] . 您可以在最前面的应用程序中使用它: [[SpringBoard sharedApplication] _accessibilityFrontMostApplication]

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM