How can I display text with links and images together?

Discussion in 'iOS Programming' started by straber, Feb 10, 2014.

  1. straber macrumors member

    Joined:
    Jul 3, 2012
    #1
    I need a way to display text which may contain links and images similar to the bottom message in this app. (see attached screen cap)

    Should I draw the text and images directly onto a UIView? And if so, how should I make the link clickable and how should I calculate the size needed to draw everything? Or is there some type of control I use that supports adding text and images?

    I really appreciate any input...
     

    Attached Files:

  2. tacotester1 macrumors member

    Joined:
    Dec 19, 2013
    #2
    are you trying to do this in some kind of messaging app.

    or just a viewcontroller
    with a button that produces text links and a picture

    i think more info would help
     
  3. straber thread starter macrumors member

    Joined:
    Jul 3, 2012
    #3
    It's going to be a messaging service with an interface very similar to the screen shot I posted. It also has to support iOS 6, so TextKit isn't an option.
     
  4. tacotester1 macrumors member

    Joined:
    Dec 19, 2013
    #4
    not sure if this will be helpful

    https://github.com/sumanthk2006/AcaniChat
     
  5. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #5
    Those look more like emoji than images, to me.
     
  6. straber thread starter macrumors member

    Joined:
    Jul 3, 2012
    #6
    They're custom emoticons, not part of any font. Is there a better approach to displaying customized emoticons?
     

Share This Page