Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 618 Bytes

accountheader_single_profile_without_dropdown.md

File metadata and controls

17 lines (13 loc) · 618 Bytes

How can i use the AccountHeader with just one profile and disable the dropdown?

This can be simply achieved by adding headerView.selectionListEnabledForSingleProfile = false to the Builder of the AccountHeader. This will then disable the dropdown and hide the arrow from the header.

Sample code

headerView.selectionListEnabledForSingleProfile = false

Links