Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Making Message-like UI on iPhone (without sending SMS/email)

Tags:

ios

iphone

I am developing a chat app which sends emssages through push notifications and p2p connections (not via SMS or e-mail).

I would like to make a view controller which has some custom views at the top and then the messages thread below it. The messages should be presented in a manner similar to Messages iPhone app.

Is it possible to reuse Apple code (is there a ViewController / View I can use? Can I somehow use MFMessageComposeViewController?) or should I reinvent the wheel and make my own implementation?

like image 697
johndodo Avatar asked Sep 15 '13 16:09

johndodo


People also ask

How do you send a floating heart on iPhone?

Type your text message in the iMessage bar as you normally would. Tap and hold down on the blue arrow until the "Send with effect" screen appears. Tap Screen. Swipe left until you find the effect you want to use.


1 Answers

There are several open-source solutions that re-create the messages interface rather accurately:

  • SSMessagesViewController by Sam Soffes
  • MessagesTableViewController by jessesquires

Of course, you could also create the interface yourself by using a UITableView to house custom cells that would draw the speech bubbles, and text inside them.

like image 197
Tristan Avatar answered Nov 11 '22 14:11

Tristan