UITextView doesn't display the first part of the text

I am having a trouble with UITextView.
When a text view is loaded for the first time after my app is launched (the text view is created and text is filled from saved data), the text view displays from the first letter of the text.
But once the text view becomes first responder, then disappers by pressing back button on a navigation bar, and come back to the text view again by using a control on the previous view (a button for instance), the text view always displays the last part of the text.
This happens after the text view becomes first responder. What is changed before and after the text view becomes first responder? And how can I avoid this to display the first letter in the text view always when it appears?
I tried resignFirstResponder, selectedRange, and scrollRangeToVisible: in viewWill/DidAppear/Disappear but all of them didn't work.

Thank you iPhil_good, but it didn't work ...
And RickMaddy, I don't know how to post image but as it is UITextView, I use text to explain.
There are two views, home view and text view, and UITextView is in the text view. The first time the UITextView appears (slides in from the home view), it looks like:
Test[1] Test[2] Test[3] Test[4]
Test[5] Test[6] Test[7] Test[8]
Test[9] Test[10] Test[11] Test[12]
Suppose the text starts at Test[1] and ends at Test[200], and just the first 50 are visible within the size of the UITextView.
Once I tap on the UITextView, keyboard appears and UITextView becomes first responder (editable). Then I go back to the home view using back button on the navigation bar.
Then again I move back to the text view from the home view,. This time it looks like:
Test[189] Test[190] Test[191] Test[192]
Test[193] Test[194] Test[195] Test[196]
Test[197] Test[198] Test[199] Test[200]
I would like to display the text from Test[1] whenever the view appears. If the UITextView hasn't become first responder, this doesn't happen and the text starts from Test[1] when it appears. But once the UITextView becomes first responder, the UITextView always displays Test[200] at the bottom of the view when it appears.
I am not sure but it looks as though some internal state of UITextView changes when it becomes first responder, but isn't reset even after it resigns first responder.

Similar Messages

  • Recording Audio Cuts off the first part of the region?

    Hi. When i record audio the regions show up after recording and i have to pull the beginning of the region back a bit so that i can see the full length of the audio recording. Its non destructive but very annyoing. How can i stop it doing this everytime? Thanks

    Thanks Mike for replying
    But the thing is; I want to perform a computation process on the list manager values to trim off the first part of the string. I have the dynamic lov for list manager. But when I insert/update list manager item values I don't want the first part of string in the database.
    Please help with the function. i was trying the below function but it doesn't work; errors out saying
    ORA-06550: line 16, column 14: PLS-00597: expression 'V_ARRAY_1' in the INTO list is of wrong type ORA-06550: line 17, column 9: PL/SQL: ORA-00904: : invalid identifier ORA-06550: line 15, column 7: PL/SQL: SQL Statement ignored
    {code}
    DECLARE
       v_array          apex_application_global.vc_arr2;
       v_array_1         apex_application_global.vc_arr2;
       v_string         VARCHAR2 (32767);
       BEGIN
       -- Convert delimited string to array
       v_array :=
          APEX_UTIL.
           string_to_table (:P3_LM_USES);
       FOR i IN 1 .. v_array.COUNT
       LOOP
          SELECT LTRIM (SUBSTR (v_array (i), INSTR (v_array (i), '..') + 2))
            INTO v_array_1
            FROM DUAL;
    v_string := HTMLDB_UTIL.table_to_string(v_array_1,':');
    apex_application.g_print_success_message := apex_application.g_print_success_message || v_string;
             END LOOP;
    RETURN (v_string);
    END;
    {code}
    Thanks,
    Orton

  • Previously, when I got a message notification on my iPhone, I could see the first part of the text. Now it just says "iMessage".

    Previously, when I got a message notification on my iPhone home screen, I could see the first part of the text. Now it just says "iMessage". How can I change this?

    Settings > Notifications > Messages > Show Preview > On.
    Also, check other settings on this screen. 
    Notifications can be a little confusing... this may help... http://www.imore.com/notification-center-ultimate-guide

  • TS1292 I have recently received an iTunes card and after scraping away the panel to get my code the first part of the code is unreadable how do I go about getting a code for the card

    Hi there I have recently been given an iTunes card as a present.i went to use it today to put credit on my account and after scraping away the panel found that I couldn't read part of the code that was on the card how do I go about getting the card activated?

    If the page that you postted from doesn't help then you will need to try contacting iTunes support (you will need to give them as much of the serial number and activation code from the card as you can read) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then iTunes Cards And Codes

  • Question:  LR5, suddenly the first part of the menu of development module is missing. (Basics)

    I have contacted Adobe support, they proposed to delete the preferences, but did not work, then to have a new user and try it from there. With the new user I got the complete menu, but have no access to my catalog and photo database.
    Has anyone an idea how to solve the problem. ??????

    Go back to your version of LR without the "Basic" menu.
    Right click (or Cmd Click) on one of the other headings in the Develop Side bar (eg: "Tone Curve").  Then re-select the "Basic" box from the pop-up menu that appears.

  • When Syncing my ipad, it does not show the business PO Box field from outlook which is the first line of the address

    Hi, I was wondering if someone out there could help me.
    I am trying to syncronise my outlook address book with my Ipad.
    The actual sync does work but it is missing the field Business Address PO Box, and this is where the first part of the address is stored, so when I try to look up an address on my ipad part of it is missing.
    However if I send the contact by email to my ipad as a internet format vCard it will import the whole address. However as I have 400+ contacts I really don't want to have to do it manually.
    Many thanks for any advice given.

    terminology is the issue here.
    Whilst AOL have refered to these additional email accounts as identities basically forever, they are not identities, they are email accounts. So simply add it to Thunderbird as an existing email account (File menu ) New> existing mail account

  • Emacs is displaying the first column of the line on the last column of the previous line

    The first column of my lines are being displayed on the last column of the previous line. This a very irritating glitch that I have no clue how to fix or even troubleshoot. (red bars were added using preview to hide personal info)
    I've downloaded MacPorts and reinstalled emacs:
    GNU Emacs 24.4.1
    Copyright (C) 2014 Free Software Foundation, Inc.
    GNU Emacs comes with ABSOLUTELY NO WARRANTY.
    You may redistribute copies of Emacs
    under the terms of the GNU General Public License.
    For more information about these matters, see the file named COPYING.
    I'm open to any suggestions on how to fix this graphical glitch.
    Much thanks
    Message was edited by: Conner_36

    Given that the Emacs for OS X works ok and the Emacs shipped with OS X works it would seem to be some issue with MacPorts and their version.
    Totally unfamiliar with MacPorts so have no idea how the program gets compiled,what libraries it is using and what if any config settings are needs or set so I'm afraid I won;t be much help there.  That you are on a MBP with a retina display may be part of the problem.
    So with the setup you have now, hardware and software including OS,  it was working and then just like that it stopped? Something much have changed around the time it stop working if you can think back to then it might help you resolve the problem.
    As you are doing programming can i assume you have Xcode and the command line tools installed? If not how do you compile your code? The reason I ask is compiling Emacs from there GNU source is not all that difficult. It might be worth trying that.
    One last thing given that the two other versions of Emacs displayed the file OK this strongly suggests the problem is not in your .emacs file or your environment however as I wrote I am not familiar with MacPorts so it is possible there is another config file messing you up. As a test for this create a new user or log in as the Guest user (this is best as you;re guaranteed the environment is clean) and look at the file in question in MacPorts Emacs. If it displays OK then there is something in your environment causing this, If it messes up  even in the new user then I'd say ditch MacPorts..
    regards
    <edit>
    Just to rule out init files  if you start emacs with the -q(minus que) flag the .emacs file is not read in, if you use  --no-site-file it will not load the site file if it exists.
    I'd try running the MacPorts emacs with those two flags to see f anything changes.

  • The first row behind the words,Why does not be displayed?

    The first row behind the words,Why does not be displayed?
    The first line of why will automatically fill?
    The File(IDcs6) [Link to know attack page removed by moderator]
    Message was edited by: Peter Spier

    Filedown has a nasty reputation in English-speaking countries - plenty of antivirus/antimalware apps block everything there by default, which is what Peter has done. It doesn't mean that your link is malicious, only that it's hosted somewhere that has been used to host malware in the past.
    I'm pretty sure, Peter, that there aren't any nonbreaking spaces there, because I'd wager that there aren't any spaces there at all. It's justified text, and the reasons why it will or will not break are sometimes obscure when using composers that aren't the J composer. Chinese text is usually entirely free of spaces, except in certain circumstances, usually involving European language inserted into Chinese text. Sometimes, for reasons I don't understand, InDesign will simply treat Chinese as if it were English, and only break at spots permissible in Euro languages. That's not the case here - it obviously breaks between two Chinese glyphs, so something else is up here.
    Which version of InDesign are you using? Are you keying the text directly into InDesign, or are you placing, or copying/pasting?
    If you're using an English version of InDesign, I would suggest trying to save your Chinese text as raw text or RTF and File -> Place that. If you choose RTF, try to mark it with Chinese language in your RTF editor (Word?) if possible.
    Is No Break applied anywhere in your text? You can check in the Story editor (Control/Command Y) to see what styles and formatting are applied.

  • I have Iphone 5 and have an issue with deleting part of the messages in Imessage conversation. The trash button is not displayed to delete part of the imessage. I see only delete all option. Is it a bug?

    I have Iphone 5 and have an issue with deleting part of the messages in Imessage conversation. The trash button is not displayed to delete part of the imessage. I see only delete all option. Is it a bug?

    Hi An Iphone user,
    If you are having issues deleting a specific message from an iMessage conversation (not seeing the Trash icon), you may want to double-check that you are following the steps outlined in the following article:
    How do I delete a message?
    To delete a message, tap and hold the message bubble, then tap More.
    Tap Delete All to delete all the messages. Or tap to select the messages you want to delete, then tap .
    After you delete a message, you can recover it only by restoring from a backup.
    Send messages with your iPhone, iPad, or iPod touch - Apple Support
    Regards,
    - Brenden

  • The left part of the screen doesn't work very well

    The left part of the screen doesn't work very well. It's hard to erase a letter, and impossible to me to insert the "P".
    Does it means that I need to replace the screen? Or there is a other solution?

    Basic troubleshooting steps clearly outlined in the User Guide are restart, reset, restore from backup, restore as new.
    If you've gone through ALL the troubleshooting steps and you're still having the problem, then you most likely have a hardware issue and will need to bring your phone to Apple for evaluation.

  • I purchased a album and only the first part of each song plays, even though the entire length is listed  in the file properities. Any Ideas?

    I purchased a album and only the first part of each song plays, even though the entire length is listed  in the file properities. Any Ideas?

    Assuming you are in a region where you are allowed to redownload your past purchases, delete the current copies from your iTunes library and then download again from your purchased history. If the problem persists, or that facility is not available in your region, contact the iTunes Store support staff through the report a problem links in your account history.
    tt2

  • The toolbar in the adobe app that allows you to choose the brightness level and the page layout doesn't hide. Because of that, i of course am unable to read the top part of the page...[Android]

    The toolbar in the adobe app that allows you to choose the brightness level and the page layout doesn't hide. Because of that, i of course am unable to read the top part of the page. I cannot find anything in the settings that will make it go away. What do i do? I use Samsung Ace.

    What is the Acrobat DC version and the android version that you are running? You can find the Acrobat version here: How to find the Acrobat DC version installed on your Android device

  • Album Art doesn't display in all cd in the Zen Visio

    Album art doesn't display in all cd in the Zen Vison M . I have 649 cd and most of them display correct on ZEN Vision M. But some doesn't , I try to delete de Cd and rip it again and add the album art it didn't work for some reason some of the albums does not dipslay. The album art shows in Zen Explorer but not on the Zen vision M. Do you know why. I also try to get the Cover enlarge 200x200 or larger 500x500 but still odesn't work please any help. I had read all the suggestion in the forum also and follow suggestion but it doesn't work.
    Take Care
    AussieDog

    If you select multiple songs and choose Get Info, the Album Art box will always be blank, even if the individual songs each have the same common Art. This is expected behavior.
    Copying the Art directly to the iPod will never work. If your iTunes displays the Art fine, and the nano doesn't, your problem is likely to be a firmware issue with the iPod. I would suggest performing a "restore" and then try again. Otherwise, if issues remain, reinstall iTunes if more than one XP user is affected.

  • [svn:osmf:] 14180: PARB changes: Move BinarySearch to layout package, it doesn't need to be part of the public API.

    Revision: 14180
    Revision: 14180
    Author:   [email protected]
    Date:     2010-02-15 21:52:51 -0800 (Mon, 15 Feb 2010)
    Log Message:
    PARB changes: Move BinarySearch to layout package, it doesn't need to be part of the public API.
    Modified Paths:
        osmf/trunk/framework/OSMF/.flexLibProperties
        osmf/trunk/framework/OSMF/org/osmf/layout/LayoutRendererBase.as
    Added Paths:
        osmf/trunk/framework/OSMF/org/osmf/layout/BinarySearch.as
        osmf/trunk/framework/OSMFTest/org/osmf/layout/TestBinarySearch.as
    Removed Paths:
        osmf/trunk/framework/OSMF/org/osmf/utils/BinarySearch.as
        osmf/trunk/framework/OSMFTest/org/osmf/utils/TestBinarySearch.as

    Revision: 14180
    Revision: 14180
    Author:   [email protected]
    Date:     2010-02-15 21:52:51 -0800 (Mon, 15 Feb 2010)
    Log Message:
    PARB changes: Move BinarySearch to layout package, it doesn't need to be part of the public API.
    Modified Paths:
        osmf/trunk/framework/OSMF/.flexLibProperties
        osmf/trunk/framework/OSMF/org/osmf/layout/LayoutRendererBase.as
    Added Paths:
        osmf/trunk/framework/OSMF/org/osmf/layout/BinarySearch.as
        osmf/trunk/framework/OSMFTest/org/osmf/layout/TestBinarySearch.as
    Removed Paths:
        osmf/trunk/framework/OSMF/org/osmf/utils/BinarySearch.as
        osmf/trunk/framework/OSMFTest/org/osmf/utils/TestBinarySearch.as

  • [svn:osmf:] 14181: PARB changes: Move DateUtil to f4mClasses, it doesn' t need to be part of the public API.

    Revision: 14181
    Revision: 14181
    Author:   [email protected]
    Date:     2010-02-15 21:57:55 -0800 (Mon, 15 Feb 2010)
    Log Message:
    PARB changes: Move DateUtil to f4mClasses, it doesn't need to be part of the public API.
    Modified Paths:
        osmf/trunk/framework/OSMF/.flexLibProperties
        osmf/trunk/framework/OSMF/org/osmf/elements/f4mClasses/ManifestParser.as
    Added Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/f4mClasses/DateUtil.as
    Removed Paths:
        osmf/trunk/framework/OSMF/org/osmf/utils/DateUtil.as

    Revision: 14181
    Revision: 14181
    Author:   [email protected]
    Date:     2010-02-15 21:57:55 -0800 (Mon, 15 Feb 2010)
    Log Message:
    PARB changes: Move DateUtil to f4mClasses, it doesn't need to be part of the public API.
    Modified Paths:
        osmf/trunk/framework/OSMF/.flexLibProperties
        osmf/trunk/framework/OSMF/org/osmf/elements/f4mClasses/ManifestParser.as
    Added Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/f4mClasses/DateUtil.as
    Removed Paths:
        osmf/trunk/framework/OSMF/org/osmf/utils/DateUtil.as

Maybe you are looking for

  • Purchase Order Condition values

    Hi Friends ,              I'm facing a problem in identifying a data source for  Purchase Order's. On searching in SDN Forum i came to know that there is no standard Datasource for Purchase order conditions.              Can some one give me little c

  • 3G iPod Shows up on Desktop but not in iTunes

    I am having the same problem with my 3G iPod. It has been working flawlessly for many years but I tried to mount it and update my songs and it will show up on the desktop but not in iTunes. It does show up in the system profiler. I reset the iPod via

  • BB Link Problem

    I have been happily linking Contacts and Calendar every day for the last two or three months, but it has suddenly stopped working. I now get a message saying 'Sync Unsuccessful' and the under Show Recent Activity it says 'Unable to Process Organiser

  • Weblogic 12c on windows 2003(32bit)

    Hi guys, I installed weblogic 12c on windows 2003(32bit)(oepe-indigo-installer-12.1.1.0.1.201203120349-12.1.1-win32.exe); I created schedule job (startup weblogic console on server startup); The  weblogic instance run java applications; Every second

  • How to keep 1 full set of Podcast while the rest is "last 10..."?

    Hello all. Inside iTunes 7 under the Podcast settings preferences, you can set either to -Keep all podcasts, this will just accumulate in the podcast as more new content is downloaded -(For example) Keep most recent 10 podcast, older ones will be del