• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [iPhone] Custom UIView like in iPhone Messages App
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iPhone] Custom UIView like in iPhone Messages App


  • Subject: Re: [iPhone] Custom UIView like in iPhone Messages App
  • From: Greg Reichow <email@hidden>
  • Date: Sun, 08 Nov 2009 10:57:14 +0800


I am trying to implement a custom ui view with a background image to append
chat messages into a scroll view like in iPhone default Messages SMS App.
But I have few things to clarify.


If its multiple lines how can I remove the image scaling so that it would
not look like that background image is scaled ?


Could anyone suggest some solution for this.

I am not entirely sure what you mean. Yet, I would suggest using a UITableView instead of a UIScrollView to mimic the SMS App style message list. Each message is in a custom cell with custom height dependent on the number of lines. The "balloons" are an image that is just stretched to the proper height. Using a UITableView will be more efficient than loading all messages onto a ScrollView if you have more than a screenful of messages in the list.
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >[iPhone] Custom UIView like in iPhone Messages App (From: Tharindu Madushanka <email@hidden>)

  • Prev by Date: Re: [iPhone] Custom UIView like in iPhone Messages App
  • Next by Date: Re: NSString of selected text in NSTextView
  • Previous by thread: Re: [iPhone] Custom UIView like in iPhone Messages App
  • Next by thread: Re: [iPhone] Custom UIView like in iPhone Messages App
  • Index(es):
    • Date
    • Thread