1

I need a little help here. I made pretty simple app for my iPad with only one text area (by using Text Field object) on background image. I placed some poem in this text field but this poem is more longer than iPas's screen so after running my app I was able to scroll down my poem. Now, I want to remove a little grey scroll bar that appears when I scrolling my poem. Where should I look for an answer? Thank you.

user987832
  • 11
  • 1

3 Answers3

1

In main storyboard you can find attributes inspector,

there you can disable "Shows vertical indicator"

enter image description here

Lt.Israel
  • 110
  • 1
  • 9
1

You're probably using a UITextView which extends UIScrollView, so you can use its showsVerticalScrollIndicator property:

- (void)viewDidLoad {
    [super viewDidLoad];
    poemView.showsVerticalScrollIndicator = NO;
}

(assuming your text view is an instance variable/outlet of your view controller)

omz
  • 53,243
  • 5
  • 129
  • 141
0

Remove Gray UITableView Index Bar

That "scroll bar" is your index bar.

Return nil from sectionIndexTitlesForTableView: and it'll go away.

Community
  • 1
  • 1
Totumus Maximus
  • 7,543
  • 6
  • 45
  • 69