Fix warning and support iOS 6

1. Add macro for support iOS 6.
2. Fix about warning. Default property attribute ‘assign’ not appropriate for non-GC object.