0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【UIKit】スクロールをするとProgress Viewが太く表示される現象の解決

0
Last updated at Posted at 2026-02-12

どういうことか

UIKitを使って、以下の構成でアプリを作っている。

View
├── Header View
├── Progress View
└── Scroll View
  └── 以下子要素

(具体的なスクリーンショットを貼ることはできないが)画面をスクロールすると、設定されたProgress Viewがちょっと太くなって目立つような感じになる。
高さもちゃんと設定しているし、他画面では起きておらず、Progress Viewもそこからコピペしてきたのに解決しなかった。思い当たるフシがない。

解決方法

Scroll Viewの Background を設定する。

Default で設定されている透明状態だと同現象が起きる。
なぜ解決するのか原因はよくわかってないです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?