[iPhone] Can UIButtons have multi-line titles?

I can't seem to find a way to get my UIButtons to have multi-line titles. I've tried setting their UILineBreakMode properties, but all that does is affect what gets displayed on the button's first line and doesn't make a (much-desired) second line. Any ideas?

Did you ever find a solution to this? I need to do the same thing.
I've tried the following with no luck:
UIButton* nowPlayingButton = [UIButton buttonWithType:UIButtonTypeCustom];
UIImage* nowPlayingImage = [UIImage imageNamed:@"NowPlaying.png"];
[nowPlayingButton setFrame:CGRectMake(0, 0, nowPlayingImage.size.width, nowPlayingImage.size.height)];
[nowPlayingButton setTitle:@"Now Playing" forState:UIControlStateNormal];
[nowPlayingButton setFont:[UIFont fontWithName:@"Arial" size: 12]];
[nowPlayingButton setContentVerticalAlignment:UIControlContentVerticalAlignmentTop];
[nowPlayingButton setLineBreakMode:UILineBreakModeWordWrap];
[nowPlayingButton setBackgroundImage:nowPlayingImage forState:UIControlStateNormal];
-- Jason
Message was edited by: jsm174

Similar Messages

  • Is it possible to save keynotes on a central place so that multople users  on mac/ipad.iphon can always have the latest version and edit this ?

    Is it possible to save keynotes on a central place so that multople users  on mac/ipad.iphon can always have the latest version and edit this ?

    If you mean saving the project files;   iCloud, Dropbox, Skydrive will  do this.
    If you mean the application, then definitely not possible.

  • I've just smashed my screen of my iPhone can i have it replaced or do i need to buy a new phone?

    i've just smashed my screen of my iPhone can i have it replaced or do i need to buy a new phone?

    Apple will service your iPhone. If you have AppleCare+ coverage, the cost of service will low; in the US it's $49. If you do not have AppleCare+ on your iPhone, Apple reportedly now will replace the screen in an iPhone 5 for US $149. Availabllity of repair services may vary by country, so call Apple Support or visit an Apple Store and ask for information. If Apple is not currently offering screen replacement service in your country, they will replace the entire iPhone for a flat fee. See the Service Pricing section here:
    http://www.apple.com/support/iphone/service/faq/
    There are independent iPhone repair services that may be able to do the repair for less than Apple's out-of-warranty charge. Do a web search for "iPhone repair". Note, though, that if you elect to have the iPhone serviced by an unauthorized shop, all further warranty and support from Apple will be voided.
    Regards.
    Forum Tip: Since you're new here, you've probably not discovered the Search feature available on every Communities page, but next time, it might save you time (and everyone else from having to answer the same question multiple times) if you search a couple of ways for a topic, both in the relevant forums and in the Apple Knowledge Base, before you post a question.

  • Can we have multi-Home CRS/ASM on same server?

    Hi All,
    I'm studying the feasibility for below situation (sorry i'm new in RAC)
    I'm not sure whether it can setup in HP-UX-11.23 Itanium box or not (Not OpenVMS)
    We have two node e.g. node1 and node2 in RAC environment.
    In node1, we plan to create one instance for each customer (Let say 10 customer, we will create 10 instances on same server).
    For each instances (ORACLE_HOME), can we have their own ASM software (ASM instance) and CRS software (CRS HOME) instead of create one and share with all instances.
    We're looking for multi-home concept, so that if one of our customer want to upgrade/patches oracle, it will NOT affect other customer.
    Any idea, or any website can share with me?
    Thanks in advance.
    Best Regards,
    klnghau
    Edited by: klnghau on Oct 15, 2010 8:51 AM

    Let say, we have 10 instances in one box, each database will have their RDBMS homes, if we can not have multiple ASM instances or CRS home.
    Whenever we want to apply patches on one of the instances, definitely other instances will be affected.
    Just want to know what is the best deploy/best practice to apply patches in such environment?I think the first 'best' practice is to not have multiple instances on a single server. But if you have to do it, I'd say virtualisation might help you so that each instance lives in it's own virtual machine with it's own operating system. That way, you can also patch the OS and reboot it and only affect a single database instance. The only problem with RAC might be that not all virtualization platforms are supported with RAC
    Bjoern

  • I have only 12 lines with last urls. Can I have more lines ?

    Firefox drop down menu shows 12 lines, each one with the name and url . It uses 24 lines that is something like waste.
    Can I have the opportunity to avoid name sites or have more urls on the drop down menu ?

    Jeff,
    Thanks for pointing out that converter issue.
    Making adjustments for 72 ppi, and zoom set to 100%, I can get 64 characters per line using the georgia font at 21 pt, spacing at -5%, and a line setting of 31. The following image was taken from 100% zoom. At 125%, the text formating remains identical, just much larger.

  • How can I have multiple lines in a table cell???

    hi
    how can I separate lines in a table cell in LV5.1.1??
    EndOfLine doesn't work, neither does CR or LF..
    has anybody an idea???
    thanks

    thanks.. but there is nothing like "multi line input" in my LV (5.1.1).. I think it might be impossible to
    do it in 5.1.1, it's really time to upgrade ;-)
    cheers

  • IPhone: Can I have Exchange email and MobileMe email on the same iPhone?

    I just got an iPhone 3G from my company. At work, we use Microsoft Outlook, so that's what I have on my iPhone. At home I have a Mac and I use a .Mac account that has been upgraded to MobileMe. I'd like to be able to access my personal MobileMe email on my iPhone without messing up my Exchange email. Is this possible?

    Yes. On my iPhone I currently have my Exchange account via ActiveSync, as well as my MobileMe account. In addition to email, I can also see my MobileMe Home and Work calendars, along with my various Exchange calendar folders, either separately or merged (with color-coded dot to let me know which one came from which account).

  • I have got an ipod and now an iphone can I have two ids on the one computer or need to use same

    I have an Ipod and have just got an Iphone  4S can I have two different ids on the one email address

    You can us more than one Apple ID/iTunes account on one computer.See:
    iTunes: How to share music between different accounts on a single computer
    It is simpler to use one account though.

  • How many iphones can i have on one account?

    My under 13 kids each got an iphone for Christmas.  I want to add their iphones to my account to download apps and music.  They won't have access to my account (ie., i will need to login for them to get an app or music).  Is there a limit to the number of phones that can be on one account?
    Is this the best way to set up for the kids?  How have others done it?
    Thanks!

    Welcome to the Apple Support Communities
    You can register as many phones as you need on your Apple ID

  • Two iPhones, can i have two icloud accounts when i use same iTunes for both? i have no storage on my first icloud

    I have two iPhones, a 4 and i just bought the 5. my iCloud storage of the 4 is full and i have the biggest storage. now i want to back up my new iphone 5 in the same icloud of the 4. i have no space. can i set up a new account even if i share laptops?

    Yes.  You can share the same ID for iTunes and create separate iCloud accounts with separate IDs.  If fact, that't the recommended approach for families. 
    You should also use separate IDs for iMessage and FaceTime to avoid getting each other's text messages and FaceTime calls.  Just use the same IDs you use for your iCloud accounts.  If you're sharing the same ID now for these services, one of you should go to Settings>Messages>Send & Receive, tap the ID, sign out, then sign back in with a separate ID.  Then do the same thing in Settings>FaceTime.

  • Can I have 2 lines on this phone?

    Is it possible to combine my 2 lines into this one phone so I only have to carry one phone? I have a Steller and a Galaxy S5, and would like to get a new phone number for the steller but want to keep the old line and transfer it to my new phone, is this even possible?

    Some apps like the former yuliop and Viber will assign you an alternate phone number. You can also call forward calls from another line to your phone.

  • Can we have Multi BI Scheduler in single obiee server

    Hi,
    Is it possible to have multiple OBIEE schdeuler in single obiee server in 10g. we are currently using multi RPD and webcatalog in single server, is it possible get scheduler running the same way. If yes please help
    some thing like : http://debaatobiee.wordpress.com/2009/10/01/multiple-rpd-multiple-presentation-service-instance-on-single-bi-server/
    Please Suggest,
    Regards,
    AP

    I don’t think this can be done since the Scheduler changes are override(OracleBIData\scheduler\config\instanceconfig.xml)
    by each other based on the rpd job manager config changes.
    If we have separate DSN for RPD or Virtual dir as Analtyics this may be possible.
    More over the below tag from OracleBIData\web\config\instanceconfig.xml points same host
    <ScheduleServer>localhost</ScheduleServer>
    Let me know updates

  • Bug?: Tabular Form function "addRow" can't handle multi-line Row Templates

    Hi all,
    i created a custom Report Template (Named Column Row Template) which creates 2 lines per Record (which in fact is 2 rows in a HTML table).
    In the APEX function initTabForm (apex_4_0.js) the sample row (f01_0000) is read and stored in gTabFormInitRow
    This is done by using a jQuery Selector like this: jQuery('#init_row_'+pRegionID) which returns only the first row of my multiline record.
    Is this behaviour intended or is it a bug? Or do i have to change my HTML structure?
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    Work: http://www.click-click.at
    Training: http://www.click-click.at/apex-4-0-workshops

    Hi Marc,
    thanks for the quick reply.
    I was afraid you would say it is intended behavior :-)
    A table per row has the disadvantage of loosing the automatic column width, i would have to set the column width to a fixed value to maintain a nice look.
    Well, thanks for the moment, i'll try to find a general solution and (if i succeed) get back to you.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    Work: http://www.click-click.at
    Training: http://www.click-click.at/apex-4-0-workshops

  • Possible to have 2 lines on mac or windows jabber client? I can do this on the iPhone client.

    Possible to have 2 lines on mac or windows jabber client?  I can do this on the iPhone client.

    No, they can only have 1 line.

  • If you have an itouch and then an iphone can you...

    if you have an itouch and then an iphone can you have to diffrent accounts for each so that the i can keep the apps i want on each device?

    Why would you need two accounts?
    Just sync the apps you want to each device.
    You can choose what you wan to sync to each device.

Maybe you are looking for

  • Web services with multiple elements in the results

    We are using ASP.Net and LiveCycle Forms with LiveCycle Designer 7.0. LiveCycle forms is running on JBOSS (turnkey installation). Our problem is that if the web service returns multiple results e.g.       £12.99       Widget       £0.99       Grommet

  • Problem When downloading the data to Appplication Server in CSV Format

    HI, I m doing the development which has the internal table with 24 field filld in the program, I need to download the internal table content to excel sheet and put in the application server , Can you pls suggest how to go for this. I m using the open

  • HP PL5060N Plasma HDTV

    I have taken my plasma tv off of its wall mount and would like to use the TV stand.  However, i am missing one of the TV stand mounts which attach to the back of the television.  A picture of what I am looking for is on Page 8 of my User's Manual.  I

  • Vertical "Stipes" of Pixels over whole screen-cursor is 1 cm block

    I've a 15" Ti PB--550 MHz. When started up in OSX-10.4.2 it comes on with a pattern of vertical whitened pixels and alternate darker coloured (about 1 cm wide) blocks of pixels over the whole screen. No icons appear and no menu. The cursor appears as

  • DDConverter - Unmarshaller failed

    Hello guys, i want to update the DD files with the DDConverter like this: java weblogic.DDConverter -d tempdir .../CustomerService.ear and it throws the following exception: [DDConverter] START Converting EAR CustomerService.ear <Feb 11, 2009 3:05:17