Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9057633
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T14:30:36+00:00 2026-06-16T14:30:36+00:00

I am using a storyboard to create the initial state of my view .

  • 0

I am using a storyboard to create the initial state of my view. I then have a button that changes the layout (it expands a UITextView to take up half of the screen).

Whenever I try to alter the text of a label on the screen programatically the UIView is resetting to the storyboard layout.

Is there a method that resets a UIView to its initial state that is causing this to happen? Or any ideas why this is occurring?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T14:30:37+00:00Added an answer on June 16, 2026 at 2:30 pm

    You have autolayout turned on for your storyboard. The autolayout system will (at various times) set the position and size of every view in your view hierarchy based on the layout constraints in your storyboard.

    You can either turn off autolayout in your storyboard, or you can resize the text view by modifying its layout constraints.

    If you want to use autolayout and modify the constraints, watch at least the first of these three videos from WWDC 2012:

    • Session 202 – Introduction to Auto Layout for iOS and OS X
    • Session 228 – Best Practices for Mastering Auto Layout
    • Session 232 – Auto Layout by Example
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using storyboard to create an iPad app. On the main view I have
I have an app using storyboard. The layout is: Nav Controller > Login View
Using storyboard, I have a table view controller containing multiple dynamic prototype cells. One
I am using storyboard instantiateViewControllerWithIdentifier: and I'm noticing that all the IBOutlets I have
I have a UIButton that I create in a storyboard and assign to a
i am trying to switch between two view controllers using storyboard. I create a
I have create a static UITableView using the storyboard. Each row in the table
I have create a scene using the story board that contains a single, grouped
Using Silverlight 4 & WPF 4, I'm trying to create a button style that
Using storyboard, I create a transition to another view controller using modal style and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.