iphone: use push API only when push capability is enabled