init(warning:)
Creates additional route information for route warnings.
Declaration
convenience init(warning: String)Return Value
A new @c CPRouteDetail instance representing a route warning
Discussion
Use this method to display important warnings or alerts about conditions along the route. This helps users prepare for challenging or hazardous conditions they may encounter.
Warnings draw attention to significant issues that may affect route safety or accessibility. Use this for critical information that users should be aware of before selecting a route.