use iOS7 original API to scan codebar, only support iOS7