Does this function - (void)addFloatingSubview:(NSView *)view forAxis:(NSEventGestureAxis)axis not function?

After I upgrade my Xcode to Xcode15, When I use this function, the underlying view is no longer drawn

  • (void)addFloatingSubview:(NSView *)view forAxis:(NSEventGestureAxis)axis API_AVAILABLE(macos(10.9));
Does this function - (void)addFloatingSubview:(NSView *)view forAxis:(NSEventGestureAxis)axis not function?
 
 
Q