UITextField text all runs together - how to format on different lines?

I have a UITextField I'm using for app information.
In the field, I separated lines with CNTL+RETURN, and when I look at the UITextField in the Interface Builder it looks fine.
But in the app itself, all the line breaks are gone and the text all runs together.
Is there some property or something I need to set in order to make sure the linefeeds are used?
Thanks,
doug

Hello doug,
Here's what I do :
in the viewcontroller implementation :
myTextView.text = @"I enter my text here using
to start a new line"; // ALL ON A SINGLE LINE ! !
myTextView would then display:
I enter my text here using
to start a new line
I write the string on a single line otherwise, I get some pbs...
So, sometimes, it's quite a long line !
The only thing I set up in IB is the text alignement, font, size and color...
S.
Message was edited by: Ostrowsky S

Similar Messages

  • Word Processing problem:  How do I highlight different lines to edit at....

    How do I highlight different lines/words at the same time to edit simultaneously.
    Ex
    I like school
    School is fun
    Let's go to school
    I can't wait
    If I wanted to highlight the first and third line to center at the same time, how exactly would I do that?

    Hi Jeremiah,
    Can't be done. AppleWorks doesn't support non-contiguous selection.
    For your particular example, you can center lines one and three by this procedure:
    Place the insertion point in line 1.
    Press command-\
    Place the insertion point in line 3.
    Press command-\
    Regards,
    Barry

  • Text is running together on some pages and not others. i've tried no squint and playing around with text options in tools. I can't strike a good balance.

    I can't seem to figure out how to have a full screen experience with larger text and everything is in proportion. Either the right end of lines are chopped off, or lines of text are running into each other and out of boundaries.
    == This happened ==
    Not sure how often
    == I installed FF earlier this evening. I've had FF before and my gripe was the inability to set a certain magnification. I found the no squint add on and it seems very good, but somewhere I'm getting stuck. I've been fiddling with no squint, font options in tools and size and resolution settings for my monitor.

    i'm also having major CPU problems w/ FF 29.0.1. when i restart the app it calms down again but after loading tabs it steadily climbs up to 100% after not too long. i have checked out the 2 CPU links/articles above and do all the basic troubleshooting and tips, but with all the FF tools & add-ons isn't there some sort of CPU monitor that has the ability to display which extensions/scripts are hogging the CPU? Activity Monitor on Mac just shows the total used by the app. it's impossible in my case to efficiently disable dozens of add-ons & scripts, restart, and test each one by one b/c it can take several hrs before the CPU starts to spike high again. i have no time for this.
    thanks

  • Video images are garbled and colors are all run together

    Just got a new computer and downloaded newest version of quicktime. I can't watch any videos/webcasts etc. The sound is fine and the video plays but the screen is "garbled" and the colors are all off/run together?
    I can play a dvd fine
    Dont know much about computers and Dell would not help me....any ideas?

    I am having a similar problem and tried the same fix and it did not work for me either. In my case the video plays for a few seconds then get choppy but the audio is fine. Someone on this site suggested that my machine does not have enough to play the H.264 codec. I do have an older machine a compaq 1.20 GHz , 512 MB Ram running XP home sp2. It should be able to run a video. After all I am not on a 486 machine. I finally had to back out of the QT 7.1.6 and currently running QT 6.5.2. It works fine for me at least at this point. But of course now that means I cannot look at videos using the latest format.

  • Heading Text all cramped together

    Hi,
    I'm not sure whether is this problem had brought up before?
    From:
    Subject:
    Date:
    To:
    Cc:
    Other than "Date", the rest of the text are cramped together! Is there anyway to solve this problem?
    Thanks and Best Regards.

    Kenny --
    Try using YASU
    http://jimmitchelldesign.com/yasu/
    -- I have used it for years, and I'm very happy with it.
    It was made for Macs only, and cleans out the cobwebs, safely and efficiently.
    Here are the boxes I'm recommending that you select:

  • Text all jumbled together in collums

    When I view a page that contains collums it is like there are no carriage returns in the text. It either continues offscree n or puts it all on top of each other.
    Here is a link to a screenshot of the Apple store that shows this:
    http://img75.imageshack.us/img75/857/picture18uu.jpg
    Any help would be appreciated

    MacNC --
    Try these, and let us know how you're getting on, OK?
    It's usually blogged up caches or font duplicates . . .
    1. Empty your Safari cache & History settings via the Safari menu
    2. Trash your Icons Folder:
    HD>Users>Home>YourName>Library>Safari -->Icons
    Restart Safari and a new folder will be automatically regenerated.
    (This folder saves favicons of all the sites you visit. Needs cleaning periodically -- or you can change that file's preferences to "Read Only"
    rather than "Read & Write." This will keep it from growing in size.)
    3. You might want to check all three "auto" preferences in Safari. Sometimes those lists gets very long and need pruning. (I turned all autofill boxes off, and have no problems.)
    4. Launch Font Book and check all fonts for duplicates. A duplicated font will have a bullet beside the font family and you can resolve duplicates by selecting the font and at the menu bar, go to Edit > Resolve Duplicates.
    Do this for each font with a bullet next to it.
    If you're still having problems:
    5. Shut down your computer . . . unplug the computer, modem, and router, if you have one. Let everything sit for 2-3 minutes. Plug everything back in, start up your modem & router, then restart your computer.
    Hope this helps

  • Text all jumbled together?

    When I try to add text to my image in PhotoShop Elements 10, the font size I have set does not work, plus the letters are all stacked on top of each other. A screen shot of the problem is avalible below:
    Can anyone explain what the issue is? This has happend before, and then It would go back to normal again... I don't know what to do about this issue.

    With the text tool selected, click the arrow at the far left of its Options Bar and select "Reset Tool".
    Ken

  • CAD Email in txt format run together when displayed in CAD

    Incoming CAD emails that come in as TXT format has text that all runs together.  HTML emails come in fine.  we are using Exchange 2007's IMAP service to pull the emails.  Anything we can do to fix this?  Maybe have them all converted to HTML?

    Hi
    Is this UCCX 8.x or 7.0(1) Sr5
    Thanks
    Anuj

  • Why is it that now when I try to print a label all the words run together creating a blob of ink?

    After recent updates to iTunes when I print a label for a cd cover the words all run together.  Is there a setting that I can use to help with this problem?  It's not the printer because I can print anything else without incident.

    Thanks, I'll try it. Meanwhile, I called the sales guy at the store where I purchased my laptop one month ago and asked ''him''italic text'''' about it and he advised me to just download Google Chrome and skip the many updates I would have to do to Firefox and I did. I still like Firefox, but Chrome isn't bad and my videos PLAY!

  • Lines Running Together When Editing Form PDFs

    I created a form/fillable PDF in Acrobat XI Pro.  I want to use it on an iPad app called PDF Expert, where I can fill in the fields and save it.  When I do so and have the form sync back to my MacBook and open it, the lines of text in a fillable text box run together.  How can I prevent this from happening?
    Also, when I try to save my form in Acrobat, and go to Save As Other... -> Reader Extended PDF...  the options are all grayed out. Any reason for for this?
    Thanks!

    The form is opened the first time with the field set to 1.  Then I have a rule set up that when the person fills out the form and a field is filled in, it sets the field to 2.  The intent is to have the form open all subsequent times in the
    second view.  I don't know if that's the best way to go about doing that, but that's the best way we could come up with.
    Do the Form Load rules only run once?

  • I need to create 4 A2 boards that print adjacent to one another with a photo image running across all 4 boards.How do I set up the pages so I can see the whole composition together , then print the seperate A2 boards.Do I use illustrator (C3) or Indesign?

    I need to create 4 @ A2 boards that print adjacent to one another (all landscape format) with a photo image running across all 4 boards.How do I set up the pages so I can see the whole composition together , then print the seperate A2 boards? Is it best to use Illustrator(CS3) or Indesign?
    Thanks.

    Re: I need to create 4 A2 boards that print adjacent to one another with a photo image running across all 4 boards.How do I set up the pages so I can see the whole composition together , then print the seperate A2 boards.Do I use illustrator (C3) or Indesign
    If possible, please try Indesign CS 4.

  • The text in my links run together.

    The text in my links run together. Any ideas how to fix this? Here's a link to the page: http://bodyprecision.com/main-line-pilates-teacher-training/pilates-full-training-test.htm l Thank you!

    Sunflower19714 wrote:
    Thank you for doing this. I fixed everything that was noted and ran the code through the validator again. It came out clean but the problem still exists.
    Ok, this is a weird one I'd say, it happens.
    The issue is in this stylesheet:
    ../../bp-styles.css
    Can you do a test for me. Grab everything in that stylesheet and paste it between <style> </style> brackets directly in your pages code before the closing </head> tag:
    <style>
    PASTE ALL CSS FROM bp-styles.css HERE
    </style>
    </head>
    Then comment out the orginal linked bp-styles.css style sheet to stop it working by adding <!--       --> (see below)
    <!-- <link href="../../bp-styles.css" rel="stylesheet" type="text/css" /> -->
    What happens when you view the page then?
    I think you may just have a corrupt file somehow.

  • How to format a text object

    Post Author: ftpaxa
    CA Forum: Other
    I use a SQL server DataBase on Windows server 2003 with service pack 2. i use Crystal Report 10 with ODBC connection. I read that the nice DLL is "Crdb_odbc.dll".I saw a VB code "How to format a text object" on this site :http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=crxiTechrefenpdf&sliceId=&dialogID=7686352&stateId=1%200%207680692--' Create a new instance of the report.Dim oReport As New CrystalReport1Private Sub Form_Load()' Declare a TextObject object.Dim oTextObject As CRAXDRT.TextObject' Declare a generic Object.Dim oObject As Object' Declare a Section object.Dim oSection As CRAXDRT.Section' This variable is set to true once the' text object is found.Dim bText As BooleanbText = False' Search for all the report objects in each section.For Each oSection In oReport.SectionsFor Each oObject In oSection.ReportObjects' Find the first text object.If oObject.Kind = crTextObject Then' Get the text object and exit the loop.Set oTextObject = oObjectbText = TrueExit ForEnd IfNext oObjectIf bText Then Exit ForNext oSection' Format the text object and change the text.With oTextObject.BackColor = vbYellow.BorderColor = vbRed.BottomLineStyle = crLSDoubleLine.CanGrow = True.CharacterSpacing = 125.CloseAtPageBreak = True.FirstLineIndent = 25.Font.Italic = True.Font.Bold = True.Font.Size = 14.HasDropShadow = True.Height = 900.HorAlignment = crLeftAlign.KeepTogether = True.Left = 200.LeftIndent = 750.LeftLineStyle = crLSDashLine.MaxNumberOfLines = 16.RightIndent = 250.RightLineStyle = crLSDotLine.Suppress = False.SuppressIfDuplicated = True.SetText "Hello World".TextColor = vbBlue.TextRotationAngle = crRotate0.Top = 25.TopLineStyle = crLSSingleLine.Width = 3000End With' Set the report source of the viewer and view the report.CRViewer1.ReportSource = oReportCRViewer1.ViewReportEnd SubSo, i would like to do the same thingswith winbatch language. I tried this code :;Get CrystalRuntime Application Object HandleobjCra = ObjectCreate("CrystalRuntime.Application");Logs on to on or more SQL servers or ODBC data sources.objCra.LogOnServer("Crdb_odbc.dll","Magic","xxx","xx","zzzz") ; ("DLL file", "Server", "dbname", "username", "password"); open the saved reportobjReport = objCra.OpenReport("C:\Download\Perso\Programmation\Winbatch\Crystal Report\Final\rapport exploitation - abend.rpt")objReport.DiscardSavedData()TxtObj = objReport.Sections("PHb").ReportObjects("Text11")txtObj.Text = "testing" ; *** Error on this line : 1266: Ole:Bad Param Count;Export htmlPathHTML = strcat("C:\Download\Perso\Programmation\Winbatch\Crystal Report\Final\Resultat\rapport exploitation - abend.htm")hfile = PathHTMLcre = crr.ExportOptionscre.DestinationType = 1 ; diskfilecre.FormatType = 32 ; 24 = (HTML 3.2 standard), 31 = (PDF), 32 = (HTML4.0) cre.HTMLFileName = hfilecrr.Export(BOOL:@false)objectclose(cre)objectclose(objReport)objectclose(objCra)exit--
    Everythings work good except this linetxtObj.Text = "testing" I receive this error :1266: Ole:Bad Param CountI may be don't have the nice recipe. If you have a solution, it is welcome.

    Post Author: KAM
    CA Forum: Other
    Try using SetText.  Thanks.

  • How to -format text  in web dynpro?

    Hi all,
    I want to display text messages in web dynpro in different colors.
    and also to display some text in bold, some in italics etc
    How can i achieve that?
    Points assured for help?

    shobhendra,
    Direct support for rich-formatted text is not available in current release of WD Java (though it exists in NW04s WD ABAP).
    For workaround (HTML display) please refer my blog post:
    <a href="/people/valery.silaev/blog/2005/11/23/display-formatted-text-using-webdynpro-for-java">Display formatted text using WebDynpro for Java</a>
    Other post could be helpful as well if you experience problems with sizing IFrame used in solution above: <a href="/people/valery.silaev/blog/2006/07/14/escaping-the-procrustean-bed">Escaping the Procrustean bed</a>
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • How can I change the space between a checkbox and text all at one time? I have a lot of checkboxes in my form.

    How can I change the space between a checkbox and text all at one time? I have a lot of checkboxes in my form.

    Okay, I haven't found a way to add an extra space using Find/replace, but you might be able to add some text wrap to the check boxes that will push the text away from them.
    Open Find/Replace and click the Object tab.
    Click the Specify attributes to find button to the right of the Find Object Format: field.
    Under Basic Attributes, choose Stroke and then the Black swatch (assuming the black swatch is applied to the strokes of your check boxes). If there are no other stand-alone objects in your form with a Black stroke, this should be all you need. (If there are Black strokes on your table cells, they will be ignored.)
    Click OK
    Click the Specify attributes to change button to the right of the Change Object Format: field.
    Under Basic Attributes, choose Text Wrap & Other > Text Wrap > Type: > Wrap around bounding box (2nd button from left)
    Under Offset, set a Right offset at the distance you'd like to add (I don't know what units you use, but the 3-5 points might work for your purposes...might take some trial-and-error to get it where you want)
    Click OK
    Click Change All

Maybe you are looking for

  • Photoshop CC imprecise cropping on Windows 7

    Hello, I have been trying to precisely (with pixel accuracy) crop some images in Photoshop CC in Windows 7. The "new" crop tool, regardless how zoomed in I am, jumps in increments of about 2 or 3 pixels. I have used Photoshop for decades on a Mac, an

  • Warning -- Release Preview + T60p = Fail

    General warning to those thinking about trying Windows 8, release preview, on a T60p. Not sure what they did with release preview, but it's simply awful. It doesn't recognize nearly any of the drivers for T60p hardware -- most notably the display ada

  • Resource related  billing -reg

    hi My bunsiness process is like 1.Quotation Creation, 2.Sales Order creation with ref to Quotation, 3. Resource related billing( A Debit memo request is creating with ref to Sales Order) 4.Debit Memo creation with ref to debit memeo request. In above

  • RAW 5.1 for Lightroom 2.1?

    I've installed Photoshop CS4. Will Lightroom 2.1 not use the same RAW module (5.1)? In "about Lightroom it shows still 4.6". But in Photoshop CS4 it shows 5.1 Christian

  • How much do I need to know in order to create this

    I've thinking about this thing for a very long time - a thing that's really bugging me: the swatches panel's "list types". Currently you can list your swatches as small or large thumbnails - or in a small or large list. Neither is really "satisfactor