2 textViews in a view controller, but the view controller is not scrolling?

I have 2 textViews in a viewController the 2nd textview is larger then screen, and the ViewController is not scrolling?


You need to put these views in a UIScrollView for the viewController's content to be scrollable.

Category:iphone Time:2011-02-15 Views:0

Related post

  • adding multiple views to view controller inside a tab controller 2008-10-26

    I have a tabview controller to which I added a UIViewController to each tab. I want to have multiple UIViews inside the UIViewController. So in the implementation of the UIViewController class I added [self.view addSubView:uiview1] and [self.view add

  • Tab bar controller inside a navigation controller, or sharing a navigation root view 2009-02-23

    I'm trying to implement a UI structured like in the Tweetie app, which behaves as so: the top-level view controller seems to be a navigation controller, whose root view is an "Accounts" table view. If you click on any account, it goes to the second l

  • Does MVC normally have a separate Controller for every View? 2009-02-27

    I'm just browsing MVC examples so far, and I think I'm getting a handle on it. For my project - an embedded system on ARM9, no Windows/ASP at all - we are considering doing all the UI as MVC. Does MVC also require a strict Tree of all UI Views (one r

  • ASP.NET/UserControls: How do I sepparate the "controller" from the "view"? 2009-03-11

    Is it possible to sepparate the ascx ("view") and the ascx.cs ("controller") pars of a user control. Id like to move the controller part to App_Code to be resued while the view part is changed between projects? --------------Solutions------------- Ye

  • How to set view outlet using tab bar controller in iPhone SDK 2009-03-24

    I created a simple tab bar application in Xcode. The default tab bar has 2 tab bar items. I add a third tab bar item and set its view controller attribute to a view i had created and subsequently saved called ThirdView.xib. When I try to run, the fir

  • How do I get the "Add Controller" and "Add View" menu options in my ASP.NET MVC project? 2009-05-01

    I added ASP.NET MVC manually to an existing WebForms application... thanks to this tutorial. However, now I do not have the menu options (When right-clicking on the Controllers folder or Views folders) to show the Add Controller or Add View dialog bo

  • Does a controller create new views? 2009-05-31

    I'm working on a simple Java application. Currently, I have two view, one for login in and another once you're logged in. So my question is, once the user has logged in, should the controller of the login view creates the second view? The problem is,

  • Zend_Layout with partial view - set value through Index Controller 2009-07-31

    i think i cant see the tree in the wood.. Iam using Zend Framework, with an layout.phtml wich is rendering and partial <?php echo $this->partial('_header.phtml') ?> My goal is to render an form from my IndexController into the "_header.phtml

  • Is having all views linked to one view controller a bad practice? 2009-08-12

    For my application, I have one UIViewController and about 8 UIViews. The views are all properties of the view controller, linked via the Interface Builder (IBOutlet). So when the view controller loads, all of the views are also loaded, and I have bui

  • Should navigation logic be in the controller or the view? 2009-09-07

    In an MVC web app, where is the "right" place to put the code/logic to display a url link to a "next page" navigation control, the controller or the view? If I put it in the view, I have to pass to the view not only the data to be displayed on the cu

  • How to know - view controller's current view in iphone 2009-09-09

    Let's have an example. In application I have a tab bar controller. Tab bar has two items dynamically - two view controllers. User can select any of tab. Suppose user selects first tab. First view controller is already loaded. Now he clicks on a butto

  • call controller from a view 2009-10-09

    While developing a custom component I want to make a call to the controller from the view after the default template of view is rendered on the screen. How can I do it? --------------Solutions------------- After the view is loaded, you can call the c

  • Should a view be dependent on its controller? (ASP.NET MVC) 2009-11-04

    Have a question about the design/usage of asp.net mvc here. In the html helper class, you can get to the current controller by Html.ViewContext.Controller. Moreover, you can get to the request, route collection and much more from the html helper clas

  • Call a public method in Controller from the View in asp.net MVC2 2010-01-14

    I have a method in the controller which returns a string. I need to call this method from my view to get the string and show in the view. I am using MVC2. how can i call a public method in controller from the View? --------------Solutions------------

  • How do you properly set up a secondary view to support a navigation Controller on the iPhone? 2010-03-05

    I have an iPhone app that shows a simple view (View 1) that has a button. When the user presses this button, View 2 slides into view using the call [self presentModalViewController:self.view2 animated:YES]; I want View 2 to support a navigation contr

  • MVC, how view should be accessed from controller? 2010-03-08

    I'm just learning MVC so you could find my question rather strange... My Controller have access to different shared objects through Container object passed to Controller's constructor. To access shared objects I should do $this->container->db t

  • MVC: Model View Controller - does the View call the Model? 2010-04-12

    I've been reading about MVC design for a while now and it seems officially the View calls objects and methods in the Model, builds and outputs a view. I think this is mainly wrong. The Controller should act and retrieve/update objects inside the Mode

  • View controllers inside tab bar controller not auto-resizing on rotation 2010-04-28

    (Correction: the view controllers are not auto-resizing instead of not auto-rotating.) In an iPad app, I have five regular view controllers (not navigation controllers or anything like that) inside a tab bar controller. The tab bar controller is just

  • How to change the value of a variable inside a controller from a view file (html)? 2010-05-13

    I followed this tutorial: http://codeigniter.com/wiki/Internationalization_and_the_Template_Parser_Class/ The controller that loads the language is this one: <?php class Example extends Controller { function Example() { parent::Controller(); # Loa

  • How to modify partial, depending on controller it's viewed from? 2010-05-28

    I'm using a partial from my "messages" controller in my "tags" controller. The portion in question looks like this: <% unless message.tag_list.nil? || message.tag_list.empty? %> <% message.tags.each do |t| %> <div class="tag"><%=

Copyright (C) pcaskme.com, All Rights Reserved.

processed in 1.393 (s). 13 q(s)