The company integrated certain aspects of Twitter directly into iOS 5 so that an iPhone or iPad user can Tweet directly from apps such as Safari, YouTube or the built-in camera without launching a separate Twitter app. A similar alliance between Apple and Facebook could let users Like or comment on a status or photo without being in the Facebook app.