if (@available(iOS 18.2.0,*)) {
[builder removeMenuForIdentifier:UIMenuShare];
}
Post
Replies
Boosts
Views
Activity
if (@available(iOS 18.2.0,*)) {
[builder removeMenuForIdentifier:UIMenuShare];
}
if (@available(iOS 18.2.0,*)) {
[builder removeMenuForIdentifier:UIMenuShare];
}
you can set builder = nil。This may solve the problem, but it is uncertain if it will bring other issues.
(void)buildMenuWithBuilder:(id)builder{
builder = nil;
return;
}
This may solve the problem, but it is uncertain if it will bring other issues.
On iOS 18.2, I also encounter this issue.