check device is iPhone 5
turn on/off torch of iPhone
usage of NSDateComponents
2 ways to get the length of a string which contains english and chinese characters