Instance MethodMethodtarget
targetIdentifier(forPagePath:)
Returns the row identifier a page should select in the shared document.
func targetIdentifier(forPagePath path: String) -> String?Parameters
pathThe documentation path of the page.
Return Value
The row identifier, or nil if neither the page nor any of its ancestors is listed.
Discussion
Pages select their own row. A page that is not listed in the navigation tree selects its nearest listed ancestor instead, so that the relevant part of the tree is still expanded.