Add to support IOS 5.0/5.1

Add to support IOS 5.0/5.1