Post

Replies

Boosts

Views

Activity

Issue with UITextView Popup Menu Not Appearing in Xcode 16 on iOS 18.0+
In the app we are developing, we are referencing the UITextView layoutManager in a ViewController method. However, the popup menu that appears when long tapping on a text field cannot be displayed. This occurs in apps built with Xcode16 (iOS 18.0 or higher). On the other hand, this does not occur in apps built with Xcode15 (iOS 18.0 or higher). What is the cause? Please let me know how to fix it. SampleViewController.h @property (weak, nonatomic) IBOutlet UITextView *textField; SampleViewController.m - (void)viewWillLayoutSubviews { [super viewWillLayoutSubviews]; self.textField.layoutManager; }
1
0
546
Feb ’25