2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Segues initiated directly from view controllers must have an identifier

Last updated at Posted at 2018-09-17

XCode 9.4.1 (9F2000)

iOSのStoryboradで以下の警告が発生した。

~/ProjectName/ProjectName/Base.lproj/Main.storyboard:
Segues initiated directly from view controllers must have an identifier

Segies は View Controller からそのまま別の View Controller につけるときに ID が必須とのこと。

Segue を選択して Attirbute inspector から Identifier を設定すると警告が消える。

1.png

「Segueを利用するならID必須だから名前をつけろよ」ということかと

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?