質問編集履歴

1

コンソールのヒ表示の追記

2019/04/05 00:54

投稿

shisen-t
shisen-t

スコア21

test CHANGED
File without changes
test CHANGED
@@ -6,6 +6,16 @@
6
6
 
7
7
  Long Press Gesture Recognizerをもう一度MapView上に配置し直したり、コードを確認したりしたのですが解決方法がわからず質問させていただいた次第です。
8
8
 
9
+
10
+
11
+ コンソールには
12
+
13
+ [Warning] WARNING: A Gesture recognizer (<UILongPressGestureRecognizer: 0x10090b670; state = Possible; view = <MKMapView 0x101028400>; target= <(action=pressMap:, target=<test.ViewController 0x10090b9e0>)>>) was setup in a storyboard/xib to be added to more than one view (-><MKMapView: 0x101028400; frame = (0 20; 375 556); clipsToBounds = YES; autoresize = RM+BM; gestureRecognizers = <NSArray: 0x280db0cf0>; layer = <CALayer: 0x28030d0a0>>) at a time, this was never allowed, and is now enforced. Beginning with iOS 9.0 it will be put in the first view it is loaded into.
14
+
15
+ と表示されているため、Long Pressに問題があるものと考えています。
16
+
17
+
18
+
9
19
  どなたかお分かりになる方がいらっしゃいましたら、お力添えいただけますと幸いです。
10
20
 
11
21