Skip to content
A correct implementation to make disclosure indicator according to Apple guidelines on Universal iOS apps
Swift
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
disclosure-indicator.xcodeproj
disclosure-indicator
README.md

README.md

iOS Disclosure indicators done right

iOS disclosure indicators are hard to get right when you make a universal, that support iPhones and iPads. On iPad, when using a UISplitViewController, the good practice is to not have disclosures indicators. On iPhone, you should have them.

Things get even more complicated when you need to change the size class of your app (for example on iPhone 6 plus from landscape to portrait ; or on iPad with two apps side by side)

This sample code is an example of how I would implement the right behavior. I also wrote a Blog article that explain how I achieved it, and how it works

You can’t perform that action at this time.