We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86b632c commit 54596b9Copy full SHA for 54596b9
ios/Classes/Annotations/AnnotationController.swift
@@ -117,7 +117,7 @@ class AnnotationController: NSObject {
117
let y = self.getInfoWindowYOffset(annotationView: annotationView, annotation: annotation)
118
annotationView.calloutOffset = CGPoint(x: x, y: y)
119
if #available(iOS 9.0, *) {
120
- let lines = annotation.subtitle?.split(whereSeparator: \.isNewline)
+ let lines = annotation.subtitle?.split(whereSeparator: { $0.isNewline })
121
if lines != nil {
122
let customCallout = UIStackView()
123
customCallout.axis = .vertical
0 commit comments