Problem with the table view's _visibleBounds when used on a scroll view

I've had numerous problems with getting a table view to work on a scroll view since the table view keeps resizing (http://discussions.apple.com/thread.jspa?threadID=2618816&tstart=0)
I have created the views in IB. The scroll view is attached to the controller's view, and is assigned as the controller's view. The frame size of the scroll view is 320x436. I am manually setting the content size in code:
UIScrollView* tempScrollView = (UIScrollView*) self.view;
tempScrollView.contentSize = CGSizeMake(320, 720);
The table view's frame's width/height is set to 280x88 in IB (i.e the size of two cells), and the header and footer are set to size 0.
However, when I run the code, the table view is smaller, it is only 280x68. I have looked in the debugger, and the table view's _contentSize (of its scroll view) is 280x88; however, the _visibleBounds property is 280x68.
I've tried looking into the documentation for the UITableView class, but can't find anything on the _visibleBounds property, or where it is being set and how to force it to the correct size.
If anybody has any advice, I'd appreciate it.

I can get around this problem by going to the scrollview which the tableview belongs to, and unchecking the Autoresize Subviews box.
But if anybody knows about the _visibleBounds property, or the rules which are applied when resizing subviews, I'd be interested.

Similar Messages

  • I am having problems with the month of October.  When I have the full month view, the synced items from google calendars won't show.  But they do for all the other months.

    I am having problems with the month of October.  When I have the full month view, the synced items from google calendars won't show.  But they do for all the other months.  There is definitely a glitch somewhere because if I am on day view and try to click on day 15 of October, it will not let me.  It totally is acting weird.

    Free fonts, fonts from a reliable foundry?
    Have you tried removing them temporarily?
    Do you still have problems if you create a new Windows user account and log in with that? How about if you start in Safe Mode?
    And I would run a memory checker and see Troubleshoot font problems | Windows

  • Problem with the table control BDC in FV60 transaction

    Hi All,
    I got the problem with the table control in FV60 transaction.
    This is working for 900 line items.After 900 line items it is giving the problem like it is 1000th line item.You can post only 999 line items.
    I know we can post only 999 line items,but in my file only 920 line items.
    Please give me solution,if anybody come across this situation.
    Thanks & regards,
    rakesh.

    Hello Rakesh ,
    your file may have only 920 line items , but based on those line items, SAP may create few more  new lines ( based on the clearing recon accounts , inter company transaction ...etc )...
    regards
    Prabhu

  • Does anyone have problems with the lightening to USB cable when charging from an outlet? After 6  months of use, it seems to wear out as a result of twisting caused by using the iPad while charging?

    Does anyone else have problems with the lightening to USB cables, particularly the longer version, when using the iPad and charging at the same time?
    If so, am I doing anything wrong?

    Not using any mouse pad, I have a very smooth desktop. But I just tried to use a sheet of A4 printing paper, but no result, the problem persisted.
    Someone on this forum suggested, that USB3 may interfere with the magic mouse.
    I have 2 LaCie HDD's about 70 cm away from the mouse, I use them on Thunderbolt. But in operation or not - the result is the same, the mouse plays up! Just now I was clicking the desktop and the mouse created a new folder!!
    Thanks for the advice, Bee
    Cheers, Gerd

  • Problems with the table of lock is fills

    Hello all
    In my system in occasions repeated, the table of lock it is fills
    Per this problem, I did open the message with SAP and in this message the sap support, I replied that increase the  parameter value  "enque/table_size" at 200 MB, this is the value for 200 MB (202752)
    With the parameters implemented in my system, the table of lock to a is fills, this is not resolved my problem and continuos.
    Other comment is that the value maximun is 200 MB for this lock table.
    I think the problem is in the programs that executed this lock, when is executed some programs that sent the information at my stores, is when the lock table fills.

    Thaks for you answer
    Already enters in the transaction SM12 and see the registers in this table
    with this information, I found the users that added lock in the system and the system table the which is locked.
    But with this information, how can know few registers are locked per users in the SM12 and top file and history alone display this information
    300  PRODUCCION1  30.11.2010  U 11/30  Nr_of_Locks:    4960  Scope:  2   0     4,960
    300  PRODUCCION    30.11.2010  U 11/30 Nr_of_Locks:     5000  Scope:  2   0     5,000
    300  PRODUCCION1   30.11.2010  U 11/30 Nr_of_Locks:     4918  Scope:  2   0     4,918
    300  PRODUCCION1   30.11.2010  U 11/30 Nr_of_Locks:     4956  Scope:  2   0     4,956
    300  PRODUCCION     30.11.2010  U 11/30 Nr_of_Locks:     5020  Scope:  2   0     5,020
    300  PRODUCCION1   01.12.2010  U  12/01 Nr_of_Locks:     4911  Scope:  2  0     4,911
    300  PRODUCCION1  01.12.2010  U  12/01 Nr_of_Locks:     5014  Scope:  2  0     5,014
    300  PRODUCCION1   01.12.2010  U  12/01 Nr_of_Locks:     4939  Scope:  2 0     4,939
    300  PRODUCCION1   01.12.2010  U  12/01 Nr_of_Locks:      190  Scope:  1 0      190     
    300  PRODUCCION1   01.12.2010   U  12/01 Nr_of_Locks:      191  Scope:  2 0     191
    300  PRODUCCION1   01.12.2010   U  12/01 Nr_of_Locks:     4775  Scope:  2 0     4,775
    300  PRODUCCION1   01.12.2010   U  12/01 Nr_of_Locks:     5022  Scope:  2 0     5,022
    For my is important know which is the number of locks of this user,this I would give me an idea more clear the problem.

  • I am having problems with the plugin-container freezing FF when I quit it in the task manager FF starts working again. I am also getting this problem as well...347542828.exe

    The exe gives this error report
    ''347542828.exe
    szAppName : firefox.exe szAppVer : 2.0.1.4120 szModName : hungapp
    szModVer : 0.0.0.0 offset : 00000000
    C:\DOCUME~1\Mom\LOCALS~1\Temp\WER84c3.dir00\firefox.exe.mdmp
    C:\DOCUME~1\Mom\LOCALS~1\Temp\WER84c3.dir00\appcompat.txt''
    And this...
    "szAppName : 347542828.exe szAppVer : 0.0.0.0 szModName : ntdll.dll
    szModVer : 5.1.2600.6055 offset : 000192f9 "
    I need to get rid of it or an explanation of it because it is a major hindrance. Its more alarming that I can't find anything on it.
    Please help me fix this.

    Have you submitted the hint button issue to the site for comment?
    It is hard to debug script problems without access to the page... If you want to research it yourself, start by opening the Error Console (Tools menu) and clicking the Clear button. Then reload the page and check the Console for any errors (red icon). These can indicate when scripts are not loading correctly. Then try to click the hint button and see whether that triggers any additional errors.
    The error messages generally are most useful to the page's programmer, but sometimes can reveal enough information to create a user solution (e.g., running a script through the GreaseMonkey extension that repairs the problem).

  • Problem with the table that goes on next page

    Hi all,
    In my template there is a table that stores detail information. The table property is set to display in box format meaning only the border and not grid. Also I have used <?if:position() mod 10 =0?><xsl:attribute name="break-before">page</xsl:attribute> to display only 10 rows per page. now if there are say 15 rows for detail then the remaining 5 lines are correctly printed in next page, but the table in first page is not displayed in box format.
    If needed I can provide you with the xml and template.
    Thanks in advance.
    Suresh

    quick work around
    put this table in another table
    give the box format for outer table,none for inner.

  • Problem with RAM and slowing of computer when using CS5 can anyone help please?

    Hello I am having big problems at the moment with a slow computer when I am using Photoshop CS5 I am informed that I am low on memory.  I do not store any photographs on my computer they are all on an external hard drive, the only image on the computer are the ones I am working with.  I have been in touch with Norton who think it is an Adobe issue can anyone help please, looking forward to hearing from you and to a swift fix of the problem
    Best wishes
    Sheila

    How much memory do you have installed, and what operating system are you running?
    Mark

  • Problems with the creation of a new domain using JCAPS6

    Hello again,
    I created a new domain, in addition to default domain1, with JCaps 6, following the steps in this link:
    http://blogs.sun.com/polyblog/entry/creating_a_new_caps_6
    I arrived to the step 4 of the procedure "install runtime installation" and I adapted install.xml file also (not only the install.properties), with the correct values concerning domainName and port.
    When I run the ant-command then, I always get the following error:
    C:\JavaCAPS6\appserver\bin>asant -f C:\JavaCAPS6\appserver\addons\caps\install.xml
    Buildfile: C:\JavaCAPS6\appserver\addons\caps\install.xml
    install:
    install:
    [sun-appserv-admin] Executing: list-lifecycle-modules port 19048 host localhost passwordfile "C:\JavaCAPS6\appserver\addons\caps\install.properties"  user admin server
    BUILD FAILED
    C:\JavaCAPS6\appserver\addons\caps\install.xml:86: The following error occurred while executing this line:
    C:\JavaCAPS6\appserver\addons\caps\applicationVerifier\server-init.xml:41: An exception occurred while running the command. The exception message is: CLI137 Command list-lifecycle-modules failed..
    Total time: 1 seconds
    How can i do to solve this problem?
    Thanx
    Edited by: fabrigas84 on Sep 3, 2009 8:36 AM

    Hai!
    Raise a message in sap support portal.
    Regards,
    Thanga Raj.K

  • MSI K7T266 Pro2-RU - problem with the lite-raid - would like to use it as a normal ide

    Hi!
    I tried to install a single drive on the raid-controller and create a single array for it.
    For some reason the disk management in Windows XP does not see it, even though
    I have updated the related drivers. However, the Disk management showed it the first time after I had installed the HD onto the raid, but as I could not do anything intelligent with Disk management in regard of the HD, I removed the drive from Disk management with that effect that the disk management does not recognize the drive at all, even though I have now re-created the array on the risk, disabled and enabled raid on the Bios.
    I read that there exists modified bios for MSI KT3 Ultra ARU BIOS, which will turn the Raid into regular IDE. That would be something that would most probably be the best way to proceed for me. However, do such bioses exist for MSI K7T266 Pro2-RU? Any other suggestions on how to get the disk management to succeed in recornizing the IDE on the raid-controller would be good to hear as well.
    Yours sincerely,
    Tero

    Ok, I tried updating with the hacked 3.7 Full Raid Bios. Now I seem to have another problem: even though the hacked bios recognizes my HD, it thinks it's about 130 GB, when it in reality would be 250 GB. The hacked bios seems to work ok with Disk Management in Windows XP too, so it's a shame that the hacked bios doesn't seem to have a support for large disks. On the other hand the link at Lumberjacker was dead for the hacked bios v3.6, I would have tried it, if it would have provided me with a good solution to my problem.
    I then went back and installed the official v3.7 bios and the lite raid does now recognize the HD being 250 GB, but the Disk Management just states "Missing" in regard of the HD and does not let me do anything fruitful with it. I looked the HD's properties and the Device Manager just states "Hardware device not connected code 45".
    How in earth could I manage to make this work now (I do not want to move my other HD:s as they are full of stuff and don't want to risk losing any content)?
    General specs of the computer: IDE 1: 60 GB and 120 GB Matrox, IDE 2: Nec2500 and Sony DVD-Rom, Athlon 1800+ XP, 512 MB memory, Ati 9700 np, Network adapter card. The new HD to be added is a 250 GB WD (have removed the jumper)
    Thank you for any tips,
    Tero

  • Problem with group by/order by clause when using huge data

    Hi,
    I'm using below query on my table of size more than 210 million rows.
    SELECT booking_date FROM T_UTR
    WHERE four_eyes_status = 'A' AND booking_date <= '01-jul-2005' AND booking_date >= '01-jan-2004'
    AND invoice_id IS NULL AND link_id = 12345
    AND billing_indicator = 'L'
    GROUP BY booking_date ORDER BY booking_date
    If I'm skipping last line "GROUP BY booking_date ORDER BY booking_date", its giving me immediate result, but, because of group by/order by, the query may take 30 seconds to 2 minutes based on the data fetched for the date range. It may vary from 2 to 2 million rows, & grouping by for so many rows at run time will automatically take some time.
    Here I want to know, is there any procedure in oracle(any function based index) so that I can store/retrieve distinct values for link_id, & booking_date without grouping them at run time. Or the performance of the query can be increased
    Thanks
    Deepak

    Hi,
    You can use Materialized Views as stated earlier - specifically by using Query Rewrite. If the conditions on columns "four_eyes_status", "invoice_id", and "billing_indicator" never change in your query - then you can create a Materialized View that is targeted for those conditions and has lower cardinality (since you aren't grouping by those columns). The "COUNT(*)" allows the use of the DISTINCT operator in addition to "GROUP BY' as well for Query Rewrite.
    Create the Materialized View like this:
    CREATE MATERIALIZED VIEW test_mv1
    BUILD IMMEDIATE
    USING NO INDEX
    REFRESH FORCE ON DEMAND
    ENABLE QUERY REWRITE
    AS
    SELECT booking_date
         , link_id
         , COUNT(*) AS count_star
    FROM T_UTR
    WHERE four_eyes_status = 'A'
      AND invoice_id IS NULL
      AND billing_indicator = 'L'
    GROUP BY booking_date
           , link_id ;To improve performance further - create an index on the "LINK_ID" column like this:
    CREATE INDEX test_mv1_link_id_idx
    ON test_mv1 (link_id);Then - gather stats immediately on the Materialized View so that the CBO can use it for rewriting your original query - like this:
    BEGIN
       DBMS_STATS.gather_table_stats (ownname               => USER
                                    , tabname               => 'TEST_MV1'
                                    , partname              => NULL
                                    , estimate_percent      => DBMS_STATS.auto_sample_size
                                    , block_sample          => FALSE
                                    , method_opt            => 'FOR ALL COLUMNS SIZE 1'
                                    , degree                => NULL
                                    , granularity           => 'ALL'
                                    , cascade               => TRUE
                                    , no_invalidate         => FALSE
    END;
    /Now - the CBO should be able to rewrite your original query to use the Materialized View - provided you set up your session for Query Rewrite like this:
    ALTER SESSION SET query_rewrite_enabled = TRUE;
    ALTER SESSION SET query_rewrite_integrity = ENFORCED; -- set this to whatever staleness you can tolerate - see the docs for details...Now - after setting up your session - try running your query with autotrace to see if it was rewritten...
    Good luck!
    Message was edited by:
    PDaddy

  • I always have a problem with the silverlight plug-in crashing when I use Firefox 3.6. What is the solution to this?

    The problem occurs when I try to respond to an email or forward an attachment with an email. I always get a message that "the silverlight plug-in has crashed". I send a crash report or reload the page but it does not solve the problem.

    You can try to disable Out-Of-Process-Plugins for the Silverlight plugin to see if that helps. This may however cause Firefox to crash instead.
    See http://kb.mozillazine.org/Plugin-container_and_out-of-process_plugins

  • Проблема с оглавлением/The problem with the table of contents

    Добрый день, я использую Pages 5.5.2 и при создании оглавления у меня возникла проблема: Если поставить фильтр по заголовкам, а не использовать все, как предлагается в начале, то гиперссылки в нумерации обновлении сбиваются.
    Например: Заголовок 1       страница 1
                       Заголовок 2       страница 2
                       Заголовок 3       страница 3
                       Заголовок 1       страница 4
                       Заголовок 2       страница 5
                       Заголовок 3       страница 6 
                       Заголовок 1       страница 7
                       Заголовок 2       страница 8
                       Заголовок 3       страница 9
    это изначальный вариант, требующий форматирования, так все работает, но если отфильтровать ненужные стили заголовков, то результат будет таким:
                       Заголовок 1       страница 1 - при нажатии отправляет на страницу 1
                       Заголовок 1       страница 4 - при нажатии отправляет на страницу 2
                       Заголовок 1       страница 9 - при нажатии отправляет на страницу 3
    Скажите пожалуйста, как это исправить?
    Please tell me how to fix it?

    Courtesy of Google I can translate for you in hopes someone else will assist you, Nikita.  There are many experienced Pages users here.
    Hello, I use Pages 5.5.2 and when creating a table of contents I have a problem: If you put a filter on the title, and not to use everything as suggested in the beginning, the hyperlinks in the numbering update astray.
    For example: Title 1 page 1
                        Heading 2, page 2
                        Heading 3 Page 3
                        Heading 1 Page 4
                        Heading 2, page 5
                        Title 3 Page 6
                        Heading 1 Page 7
                        Heading 2 Page 8
                        Heading 3 Page 9
    this is the original version, which requires formatting, so it works, but if you filter out unneeded heading styles, the result will be:
                        Heading 1 Page 1 - when you send a page 1
                        Heading 1 Page 4 - when you send to the page 2
                        Heading 1 Page 9 - when you send a page 3
    Please tell me how to fix it?

  • Hi guys, I am using Macbook pro 17" for last 1 year... recently for the last 4-5 monts i am experiencing 2 unusual problems with the videos. first is that when I run videos on full volume it starts giving jerks and break ups.....

    hi guys,
    2 display/video isssues
    1) when videos played with full volume, it starks giving jerks and breaks
    2) some times when i play videos it gives glitches althougs the videos are clean when played on another computer.
    please let me know and help out guys.

    A Question...
    How much Free Disc Space do you have on your Hard Drive...?

  • Problems with the width of my page created in adobe muse (scrolled)

    I have a little problem I get a small scroll (scrolled) in the page to move sideways and do not know how to remove it and do not know why I get and I spoil that little scroll whole layout of the page. Please watch this short video and live shows.
    Video: http://screencast.com/t/D9Qz4w8bq
    Web: http://pruebabub.net23.net/

    I think this is a bug in the new update. I have made numerous sites since and all of them have gotten the horiztonal scroll. I mentioned it in the bug section and had a staff member help me with my first issue but have not heard anything else since.
    This is a pretty serious bug, you can not launch a website with a horizontal scroll like this.
    on another note, I really like the look of your site, very slick so far!

Maybe you are looking for