add ability to filter out direction

Previously I thought it would be better to leave the setter without #if, but encapsulate just the part which requires __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000? It is possible to create fallback implementation without the need to refactor the setter.