動的フォームを使用するためにクイックダイアログを使用しています。Web サービスは、quickdialog JSON を使用してフォームを構築します。QDateTimeInlineElement の場合、彼はこの JSON を提供してくれます。
{"type":"QDateTimeInlineElement","title":"datum","placeholder":"vul in","bind":"textValue:datum","key":"datum","mode":"Date"},
{"type":"QDateTimeInlineElement","title":"tijd","placeholder":"vul in","bind":"textValue:tijd","key":"tijd","mode":"Time"},
{"type":"QDateTimeInlineElement","title":"datumtijd","placeholder":"vul in","bind":"textValue:datumtijd","key":"datumtijd","mode":"DateAndTime"},
私のコードでは、次のコードを使用してすべての値を辞書に入れました。
NSMutableDictionary *script = [NSMutableDictionary new];
[self.root fetchValueUsingBindingsIntoObject:script];
しかし、この辞書の出力を見ると、次のログに気付きます
Date = "00:00:-34";
DateTime = "00:00:-34";
TIME = "00:00:-34";
誰でもこれで私を助けることができますか? 敬具 !