1
0

More than 1 year has passed since last update.

[iOS]Xcode13・iOS15・Storyboardから設定したUIButtonに設定した画像がうまく設定されない。

Posted at

Xcode13でStoryboardからUIButtonを設定すると、iOS15からのUIButton.Configuration (https://developer.apple.com/documentation/uikit/uibutton/configuration )= plain, filled, gray, tintedの4つのうちのplainが最初から設定された状態になり、iOS14以前のUIButtonと違う感じになる。

従来と同じ感じで使いたい場合は、Attributes Inspector > UIButton > Style > Default に設定すると、元に戻る。

意図せずplain設定になっており、設定した画像や文字が想定と違って表示されてしまい、少し混乱してしまった。

1
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
1
0