A small plugin, which can make you add a spirit-level into you app very easily.
Two Directions for spirit-level can be picked:
horizontal
vertical
Two Modes of spirit-level can be picked:
“UniformDET”: the spirit-level will have the same acuity for all gradients.
“DelicateZero”: the spirit-level will have more acuity when the phone is closer to level plane.