Guidance symbol is not visible when CPManeuver.initialTravelEstimates is not set

Originator:mrganic
Number:rdar://46240671 Date Originated:26.11.2018
Status:Open Resolved:
Product:iOS/CarPlay Product Version:iOS 12.1
Classification:Bug Reproducible:Always
 
Area:
CarPlay

Summary:
When CPManeuver.initialTravelEstimates is not set for upcoming maneuver guidance panel will not show guidance symbol regardless if it was provided or not

Steps to Reproduce:
    var maneuvers: [CPManeuver] = []
    let maneuver = CPManeuver()
    maneuver.attributedInstructionVariants = NSAttributedString(string: "some      attributed string")
    maneuver.initialTravelEstimates = nil
    maneuver.symbolSet = CPImageSet(image: image)
    maneuvers.append(maneuver)
navigationSession?.upcomingManeuvers = maneuvers

Expected Results:
Guidance panel should show guidance symbol regardless if maneuver.initialTravelEstimates was provided or not

Actual Results:
Guidance panel isn't showing guidance symbol

Version/Build:
Xcode 10.1 (10B61), iOS 12.1

Configuration:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!