How to see a longer mainWindow.xib in IB?

In the IB mainWindow.xib, I have a few controls/text/image which I need to put in but the IB can't be scrolled and I don't have enough space to drag-and-drop my controls to the IB. Is there a workaround?
Please advise.
Thanks.

yukimi88 wrote:
Is there an automatic scrolling of contents (in simulator) without using UIScrollView?
No, there's nothing in the iPhone OS that automatically scrolls the view regardless of how it's constructed. And as the name implies, the Simulator is intended to behave like the actual device. There will be important differences due to fundamental hardware limitations. E.g., you can't expect to accurately test the response to every kind of touch on the Simulator. But to a first approximation, you can expect the Simulator to present the very same UI as the device.
Note that some important classes such as UITableView and UITextView inherit the ability to scroll from UIScrollView. Also, UIWebView can scroll even though its not descended from UIScrollView. But an ordinary content view such as UIView will not scroll automatically.
To build a scrollable content view in IB, add a UIScrollView object to the xib and connect it to the "view" outlet of the controller (e.g., the File's Owner). For the next step it's easiest if you set the View Mode switch in the xib document window (left end of the top tool bar) to the Center position. You should then see a two column table with a tree of small icons to the left. Now drag the View icon onto the Scroll View icon so that the Scroll View row is highlighted in blue. When you drop the View icon its line should be indented to show that it's now a subview of the Scroll View. You may now set the height of the View object to whatever you want in the Size Inspector, and then scroll it manually as described in my first reply.
After buiding the xib, go back to the controller class @implementation and set the contentSize property of the scroll view to the height of the content view. E.g.:
// SecondViewController.m
- (void)viewDidLoad {
[super viewDidLoad];
// set the nav item title for this view
self.title = @"Second View";
[(UIScrollView*)self.view setContentSize:CGSizeMake(320, 1000)];
Since we connected the controller's "view" outlet to the Scroll View in IB, the address of the scroll view is now self.view. If we wanted to add an additional ivar for the content view, we could obtain its size directly instead of hard coding 320, 1000. In fact it's often a good idea to reset the content view frame here, since IB sometimes tries to outsmart us and change the frame size of the content view back to 320, 460 while we're not looking.
- Ray

Similar Messages

  • How to see available space in a blank dvd when burning in finder? It no longer display at the bottom of the finder window.

    How to see available space in a blank dvd when adding files in finder? It no longer displays at the bottom of the finder window.

    Choose Show Status Bar from the View menu.
    (113198)

  • HT204060 Set how long after sleep a passcode is required - I am trying to change this but the only option I see is "immediately"...Does anyone know how to see more options?

    I am trying to change how long after sleep a passcode is required, but the only option I see is "immediately"...Does anyone know how to see more options?

    Thanks for the help guys. Disabling Touch ID allows me to see other options...Although I don't understand why Apple would feel the need to put that restriction in place. Doesn't seem to be any sense behind it..

  • Getting warnings in MainWindow.xib:3: warning: The 'window' outlet ...

    I have a MainWindow.xib file which when compiled is getting errors. I did some renaming a while ago and I am wondering if something is out of whack now. This xib file has basically only a window in it, and I am getting this warning during compilation:
    Warning: The 'window' outlet of 'App Delegate' is connected to 'Window' but 'window' is no longer defined on AppDelegate.
    When I look in my XIB file, I see only four things:
    - File's Owner - UIApplication
    - First Responder - UIResponder
    - App Delegate - AppDelegate
    - Window - UIWindow
    I have some code called AppDelegate.h, AppDelegate.m
    My window has a referencing outlet diagram showing
    window --------- App Delegate
    My App Delegate object shows under Outlets:
    outlets --------- Window
    My App Delegate object shows under referencing outlets:
    delegate ---------- File's Owner
    My debug versions seem to run fine but this error bothers me and I wonder if I have a problem somewhere. Doesn't anyone know why this problem is happening?

    In Interface Builder try doing a File->Reload All Class files.
    Eric

  • How to see data in a transaction ODS

    Hi all,
    I am populating data into my Transactional ODS through the function module RSDRI_ODSO_INSERT_RFC . But not able to see the data in it. as there is no manage option to the ODS. and by default an export datasource is created for the ODS. do i have to create one more standard ods and use this export datasource as update rules and see the data?
    Please let me know how to see the data. and also and detail document on Transaction ODS?.

    Hello Satish,
    Data loaded through Planning Application eg. In Transactional ODS will not have manage option or request. You can view the data using following methods.
    Since transactional ODS objects cannot be filled with BW data using staging (data is not supplied from the DataSources), they are not displayed in the Scheduler or in the Monitor. Transactional ODS objects can therefore not be updated in the same way as standard ODS objects.
    If you switch a standard ODS object that already has update rules available to a transactional one, the update rules are set as inactive and are no longer processable.
    As no change log is generated, no delta update of data stored at the end of the process is possible.
    You cannot set the indicator for BEx Reporting when creating a transactional ODS object.
    1.) In order to report this, you can create an InfoSet and then execute a BEx query for it.
    2) You can also download the data from your transactional ODS object using the download function. You can find this function in the administration of the ODS objects, Tab Page Contents -> Active Data.  Choose Execute to display the data. Using the main menu Edit -> Download, you can download the data in different formats.
    Hope it helps.
    San.

  • How to create customized long text in IDOC status record in WE02?

    Hi,
    In WE02 you can see the status of the idoc. If you double click on the short text that is coming in the status, you can see the long text. How do i customized my long text to that screen?

    To create a message long text in SE91:
        1. Place the cursor on the corresponding message.
        2. Click the Long text pushbutton.
        3. Enter the long text.
        4. Save the data.
    Edited by: YTL on Jun 27, 2011 5:51 PM

  • I can't open MainWindow.xib in xCode 3.2

    Im using a Macbook Air ver. 10.6.8 ( last Update today )
    Problem: Im watching Tutorials etc. and then .. they open
    the file MainWindow.xib in xCode ( doubleclick ) and there comes
    3 Windows ( Library , The IPhone , and the Window with Label etc.)
    When I click on the file nothing opens..
    I think I have a old version and the funcion is not in yet.
    Im very angry about the fact that I can't use the newest ver. 4.4
    Because it is needing a newer OSX version.
    Can you tell me how I can fix that ?
    *Edit: Sorry for my terrible english im a german/turkish member*

    CLOSED-
    I have bought Mac OSX Mountain Lion no problems anymore.

  • How can find out long run quries?

    Hi,
    I have some question
    how can find out long run queries , i have use v$session but i have not find out,pls how can find out
    these queries.

    v$session_longops has some limitations, for example it records only some operations see more [url http://www.gplivna.eu/papers/v$session_longops.htm]here
    Another possibility might be using statspack and/or [url http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14211/autostat.htm#PFGRF02601]AWR
    From docs:
    The most current instructions and information on installing and using the Statspack package are contained in the spdoc.txt file installed with your database. Refer to that file for Statspack information. On Unix systems, the file is located in the ORACLE_HOME/rdbms/admin directory. On Windows systems, the file is located in the ORACLE_HOME\rdbms\admin directory.
    Gints Plivna
    http://www.gplivna.eu

  • How to see time in song in itunes

    How do i see the song time in itunes?

    Hi Rajesh,
    I do not think you can see the long timestamp from RWB but from SXMB_MONI you can enter the message and double click on PerformanceHeader, there you will see the timestamp of different steps of the message in the integration engine.
    Regards,
    Sergio

  • HT3266 HI... I NEED SEE MY ID OF MY COMPUTER.. IS THE UUID HOW I SEE THIS? IS NOT THE IP OR SOMETHING LIKE THAT.. PLEASE I NEED UR HELP PLEASE...

    Hi everyone.. the problem is: The server have all the UUID or ID of the computers.... but in windows we know how to see that but in mac we dont have idea to where see this number... so.. i try in terminal with some commands but everytime say the UUID of hardware or UUID of user but i need other UUID and this UUID is the number that the server say that is mine....
    Is strange....
    In windows we found a program,, but in mac i dont find some program can help my problem... My UUID is the same only show me the UUID of Hardware... i need the 4 UUID of the computers...
    Thanks

    Ok, Mr. Happy Duck, mouse over to the Apple menu in the top/left corner, select About this Mac. Click on More Info... then on System Report... The Hardware overview should give you all you need.

  • In SQL Trace how to see which statement getting more time .

    Hi Expart,
    In SQL Trace (T-code ST05) . I am running the standard transaction . how to see which statement
    running more time and less time . suppose one statement running more time so how resolve the
    performance .
    Plz. reply me
    Regards
    Razz

    > The ones in 'RED' color are the statement which are taking a lot of time and you need to
    > optimise the same.
    No, that is incorrect, the red ones show only the ones which need several hundret milliseconds in one execution. This can even be correct for hard tasks. And there are lots of problem, which you will not see
    I have said everything here:
    SQL trace:
    /people/siegfried.boes/blog/2007/09/05/the-sql-trace-st05-150-quick-and-easy
    Go to 'Tracelist' -> Summarize by SQL statements', this is the view which you want to see!
    I summarizes all executions of the same statement.
    There are even the checks explained, the slow ones are the one which need a lot of time per record!
    See MinTime/Rec > 10.000 microseconds.
    Check all number of records, executions, buffer, identicals.
    The SE30 Tipps and Tricks will not help much.
    Siegfried

  • How To See Numbers In Arabic Instead Of Indian Format

    I want to see numbers in Arabic format not in Indian format when i log on the Arabic Interface .
    I have EBS (12.0.6) installed on Linux centos , I have implement the below Oracle Metalink Note to solve this issue
    How To See Numbers In Arabic Instead Of Indian Format [ID 785243.1]
    I installed all the patched mentioned in the note (Apply forms version 10.1.2.2.0 with the forms patch 7488328 , Apply patch 7207440:R12.TXK.A , Apply patch 7601624 - NEW PROFILE OPTION: FORMS DIGIT SUBSTITUTION)
    These patches add the Profile option (FORMS DIGIT SUBSTITUTION) , but when i try to used it has no effect at all .
    So kindly if you have any idea about this issue please help me.
    Regards
    Fadi Lafi

    Hi,
    These patches add the Profile option (FORMS DIGIT SUBSTITUTION) , but when i try to used it has no effect at all .At what level you have set this profile option?
    So kindly if you have any idea about this issue please help me.Have you bounced the application services after setting this profile option? If not, please do so, login again and see if it works.
    Thanks,
    Hussein

  • TS2972 I have finished home sharing for my macbook air and apple tv, now how to see my macbook air on the TV monitor?

    how to see my macbook air on the TV monitor after I finished home sharing for the system?

    Did you purchase your MacBook Air new?  Do you still have its box?  Locate its serial number and telephone Apple at the number shown at the bottom of this page (1-800-MY-APPLE if you're in the U.S.).  They can help you.

  • How to see the Open PO Qty in Mass

    Dear Experts,
                        How to see the Open Qty in PO in mass, is there any report available..Please help 
    Regards
    karthik

    use the Txn ME2N
    Enter the follwoing details . Scope of list - ALV, Selection parameters- WE101, Plant- XXXX, Enter the document dates From and TO and execute ( F8), You will get all the details, If you want to adjust the format use cntrl+F8 to get the POP_up for selection of fields and use as you wish.

  • How to see the balance under different balance if special ledgers exist???

    Some of the company using special ledgers. I need to teach user how to see the balance under different balance.
    I will focus on
    1. display voucher
    2. check GL balance
    Anyone have idea (detailed flow)/template (preferred) on these issues?
    Thanks a lot for your help in advance

    hi,
    /n----
    > acccounting -
    >financial accounting -
    >GL acccounts -
    > information system -
    > gl reports
    here in this path u can get all the gl list and gl balances list ....
    u can check what ever reports u want.....
    if useful assign points...
    regards,
    santosh kumar

Maybe you are looking for

  • Image size and resolution question.

    Is an image at W 48.667 x H 32.444 inches at 72 res the same as an image that I could convert in photoshop to 300 res and then the with "Resample Image" clicked off would be W 11.68 x H 7.78 at 300 res for printing purposes? I'm asking this questions

  • Copying data to a named excel sheet

    Hi, I want to copy data from a csv file to a named sheet in a .xls template file.   How do I do this?   I also like to copy data from a 2D array to a named sheet in a xls file Solved! Go to Solution.

  • Export Excel with BO 5.1

    Post Author: mcolletm CA Forum: General Feedback Hello all, I would like to know how can I export a table results from a query on excel with BO 5.1.I know that I can do it through "save as" .txt and open this txt file with excel but I don't want this

  • Get-ChildItem with -LiteralPath is throwing "The specified wildcard character pattern is not valid" when filenames contain brackets

    I'm trying to get a list of folders in a hierarchy that don't contain any mp3 files. (The goal here is to eventually clean up all the "empty" folders that only have album art, thumbs.db, desktop.ini, etc. files left). So I wrote a quick PowerShell co

  • Call function java in a href

    Hi, I use the servlet and I want to call a function that is in href. for exemple : out.println("<a href=# onclick="+ merde(request,response) +">test</a>"); void merde(HttpServletRequest request,HttpServletResponse response) throws ServletException, I