Size: a a a

2021 November 30

DD

Denis Denisov in SwiftBook
Воспользуюсь вниманием и так же спрошу повторно по поводу такого сообщения в консоли при отображении UIAlert с вложеным UITextField:
источник

DD

Denis Denisov in SwiftBook
2021-11-30 09:45:51.485832+0400 Todoey[16439:542143] [LayoutConstraints] Changing the translatesAutoresizingMaskIntoConstraints property of a UICollectionViewCell that is managed by a UICollectionView is not supported, and will result in incorrect self-sizing. View: <_UIAlertControllerTextFieldViewCollectionCell: 0x15251fcf0; frame = (0 0; 270 24); gestureRecognizers = <NSArray: 0x6000008f10b0>; layer = <CALayer: 0x6000006f6300>>
2021-11-30 09:45:51.497522+0400 Todoey[16439:542143] Writing analzed variants.
2021-11-30 09:45:51.505303+0400 Todoey[16439:542143] [UICollectionViewRecursion] cv == 0x15304b000 Disabling recursion trigger logging
2021-11-30 09:45:51.527342+0400 Todoey[16439:542143] Writing analzed variants.
objc[16439]: Class _PathPoint is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore (0x1136c6838) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/TextInputUI.framework/TextInputUI (0x12d475208). One of the two will be used. Which one is undefined.
objc[16439]: Class _PointQueue is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore (0x1136c6810) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/TextInputUI.framework/TextInputUI (0x12d475230). One of the two will be used. Which one is undefined.
Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore (0x1136c6838) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/TextInputUI.framework/TextInputUI (0x12d475208). One of the two will be used. Which one is undefined.
objc[16439]: Class _PointQueue is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore (0x1136c6810) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/TextInputUI.framework/TextInputUI (0x12d475230). One of the two will be used. Which one is undefined.
источник

DD

Denis Denisov in SwiftBook
приложуха не крашится
но что-то не то с layout определенно
источник

А

Алексей Зубков... in SwiftBook
Ну судя по ошибке, тут не с текст филдом связано, а с autoresizingMask коллекшена
источник

DD

Denis Denisov in SwiftBook
с textField
коменчу alert.addTextField - ошибки не возникает
источник

В

Василий in SwiftBook
ты же спрашивал уже про это?
источник

K

Kong Ning Kuan 孔宁宽... in SwiftBook
Это как то связано с вакцинами, да?
источник

DD

Denis Denisov in SwiftBook
поэтому и говорю «повторно спрашиваю» )))
есть у кого рибудь референс как вы добавляли UITextField  в UIAlertController ???
StackOverflow и остальные сайты презентуют такое же решение как и у меня, но сообщение в консоли мне не нравится
источник

DD

Denis Denisov in SwiftBook
😁👍
источник

В

Василий in SwiftBook
а знаешь что любопытно - я воспроизвел и ошибок нет
так что откуда-то из другого места у тебя ошибка прилетает
источник

DD

Denis Denisov in SwiftBook
хм….
Спасибо большое за затраченое время
Буду искать
Ну а вам желаю хорошего дня!)
источник

DD

Denis Denisov in SwiftBook
источник

V

Veronika in SwiftBook
Либо просто не отображается ничего
Либо крашится (
источник

S

Sergey in SwiftBook
json покажи какой приходит
источник

S

Sergey in SwiftBook
у тебя модели не правильные
источник

S

Sergey in SwiftBook
посмотри как декодить, когда у тебя ключ не постоянный, а значение
источник

В

Василий in SwiftBook
ты вообще понимашеь что ты делаешь на третьей строчке?
источник

V

Veronika in SwiftBook
спасибо огромное
источник

S

Sergey in SwiftBook
источник

V

Veronika in SwiftBook
О, спасибо большое !!
источник