LightGap iOS standart implementation, checkout the LightGap project for related source