teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

4

エラー追記を追記。

2020/09/11 07:59

投稿

kazuki_user
kazuki_user

スコア147

title CHANGED
File without changes
body CHANGED
@@ -12,12 +12,27 @@
12
12
 
13
13
  [https://program-life.com/1440](https://program-life.com/1440)
14
14
 
15
- ## 追記
15
+ ## エラー追記
16
16
 
17
- #### AutoShrinkが効かな
17
+ 制約のエラーっぽのですが、
18
18
 
19
+ ```
20
+ 2020-09-11 16:57:02.606612+0900 CodeCheck-Test-Yumemi[50965:3868420] [LayoutConstraints] Unable to simultaneously satisfy constraints.
21
+ Probably at least one of the constraints in the following list is one you don't want.
19
- `Minimum FontScale`が効きません。
22
+ Try this:
20
- storyboardに関する何らかのエラー・バグなどが発生しているのでしょうか?
23
+ (1) look at each constraint and try to figure out which you don't expect;
24
+ (2) find the code that added the unwanted constraint or constraints and fix it.
25
+ (
26
+ "<NSLayoutConstraint:0x60000345de50 'assistantHeight' TUISystemInputAssistantView:0x7fc4cbb12e20.height == 44 (active)>",
27
+ "<NSLayoutConstraint:0x600003420e10 'assistantView.bottom' TUISystemInputAssistantView:0x7fc4cbb12e20.bottom == _UIKBCompatInputView:0x7fc4cba22750.top (active)>",
28
+ "<NSLayoutConstraint:0x6000034207d0 'assistantView.top' V:|-(0)-[TUISystemInputAssistantView:0x7fc4cbb12e20] (active, names: '|':UIInputSetHostView:0x7fc4ca45e670 )>",
29
+ "<NSLayoutConstraint:0x600003456260 'inputView.top' V:|-(0)-[_UIKBCompatInputView:0x7fc4cba22750] (active, names: '|':UIInputSetHostView:0x7fc4ca45e670 )>"
30
+ )
21
31
 
22
- 質問は以上です。
23
- お時間あるときに、ご返信頂けましたら幸いです????
32
+ Will attempt to recover by breaking constraint
33
+ <NSLayoutConstraint:0x600003420e10 'assistantView.bottom' TUISystemInputAssistantView:0x7fc4cbb12e20.bottom == _UIKBCompatInputView:0x7fc4cba22750.top (active)>
34
+
35
+ Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
36
+ The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
37
+
38
+ ```

3

先頭文字を 小 文字にしたい

2020/09/11 07:59

投稿

kazuki_user
kazuki_user

スコア147

title CHANGED
@@ -1,1 +1,1 @@
1
- Search Barの先頭小文字にならな
1
+ Search Barの先頭文字を 文字にした
body CHANGED
@@ -3,17 +3,13 @@
3
3
  Storyboardの`Correction`の`No`が効かず、
4
4
  英字入力の際に、**Search Barの先頭が小文字になりません。**
5
5
 
6
- 可能ならStoryboardで済ませたいですが、
6
+ 可能ならStoryboardで済ませたいです
7
- コードの場合、`textField.autocorrectionType = .no`はどこに記述すればよいのでしょうか?
8
7
 
9
-
10
8
  ![イメージ説明](c9b03d08dc4b5c9fec9ce503f13967d6.png)
11
9
 
12
10
 
13
11
  ## 参考サイト
14
12
 
15
- [https://stackoverflow.com/questions/3802389/how-to-disable-text-autocorrection-for-an-uitextfield-or-keyboard](https://stackoverflow.com/questions/3802389/how-to-disable-text-autocorrection-for-an-uitextfield-or-keyboard)
16
-
17
13
  [https://program-life.com/1440](https://program-life.com/1440)
18
14
 
19
15
  ## 追記

2

英字入力と記述

2020/09/11 07:33

投稿

kazuki_user
kazuki_user

スコア147

title CHANGED
File without changes
body CHANGED
@@ -1,6 +1,7 @@
1
1
  ## Search Barの先頭が小文字にならない。
2
2
 
3
- Storyboardの`Correction`の`No`が効かず、**Search Barの先頭が小文字になりません。**
3
+ Storyboardの`Correction`の`No`が効かず、
4
+ 英字入力の際に、**Search Barの先頭が小文字になりません。**
4
5
 
5
6
  可能ならStoryboardで済ませたいですが、
6
7
  コードの場合、`textField.autocorrectionType = .no`はどこに記述すればよいのでしょうか?

1

AutoShrinkが効かない、という追記

2020/09/11 06:18

投稿

kazuki_user
kazuki_user

スコア147

title CHANGED
File without changes
body CHANGED
@@ -15,5 +15,12 @@
15
15
 
16
16
  [https://program-life.com/1440](https://program-life.com/1440)
17
17
 
18
+ ## 追記
19
+
20
+ #### AutoShrinkが効かない
21
+
22
+ `Minimum FontScale`が効きません。
23
+ storyboardに関する何らかのエラー・バグなどが発生しているのでしょうか?
24
+
18
25
  質問は以上です。
19
26
  お時間あるときに、ご返信頂けましたら幸いです????