Hi,
I am developing a list of buttons for a puzzle game where i want to place images on these buttons with good texture on it like what we see just like in twitter format.is it possible to do this? if so how?
Thanks,
Hi,
I am developing a list of buttons for a puzzle game where i want to place images on these buttons with good texture on it like what we see just like in twitter format.is it possible to do this? if so how?
Thanks,
UIButton allows you to set the background for a button
[myButton setBackgroundImage:myUIImage forState:UIControlStateNormal];
however, its not clear from your question if you really mean a button, or what a twitter format is!
From your comment on the other answer, "I want to know weather is it possible to create images with numbers in that particular format just as we see in twitter site.":
I'm going to take a guess that you mean the number "buttons" in the top right corner of Twitter:
If so, these aren't images. They're numbers. It's HTML. Here is the HTML for one button:
<a href="/following" id="following_count_link" class="link-following_page" rel="me" title="See who you’re following">
<span id="following_count" class="stats_count numeric">29 </span>
<span class="label">Following</span>
</a>
Sorry if this was a wrong guess; just taking a stab at the dark.
The link http://www.textually.org/textually/archives/2010/04/09/twitter.jpeg you supply points to the word Twitter. It is in the font Pico. The iphone does not have Pico as a built in font, so if you want to write (well draw) in that font, you need to make an image with all the letters you may need, then pick them using an offset into the image.
However, I'm still not convinced this is an answer to your question!