Snap Inc, the company behind the Snapchat iOS app, is preparing an initial public offering which it hopes can raise $3 billion, with the Securities and Exchange Commission filing identifying Apple and its iMessage platform as one of its main competitors.