forkingdog / forkingdog/FDFullscreenPopGesture

Present系统原生分享框架 不兼容 , 选择短信Message的时候,导航栏cancel按钮被遮盖

Open
#184 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
5.9k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

````
UIActivityViewController` *actContr = [[UIActivityViewController alloc] initWithActivityItems:@[screenImage] applicationActivities:nil];
[self presentViewController:actContr animated:YES completion:nil];
````
系统原生分享,选择短信Message,Present MFMessageComposeViewController 的时候,导航栏被遮盖,导致 cancel 按钮无法点击 dismiss。
找了很久,发现当屏蔽 如下的 method 交换,恢复正常,求这个问题该如何解决?

````
@implementation UINavigationController (FDFullscreenPopGesture)
+ (void)load{
SEL originalSelector = @selector(pushViewController:animated:);
SEL swizzledSelector = @selector(fd_pushViewController:animated:);
........
}
````

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.