[FIX]			compatibly issue with older SDK

changed objective-c if-else 'respondsToSelector' to preprocessor way, to keep compatibility with older SDK