我正在使用Office365从我的 iOS 应用程序创建事件。我的问题是我可以从模拟器插入事件,但不能从 iOS 设备插入事件。下面是我的代码。
代码 : -
MSOutlookEvent *eventToCreate = [snippetLibrary outlookEventWithProperties:@[toEmailAddress]
subject:subject
body:body
start:start
end: end
];
[snippetLibrary createCalendarEvent:eventToCreate
completion:^(MSOutlookEvent *addedEvent, NSError *error) {}
出现错误:-
Error Domain=Error in the Request Code=400 "The operation couldn’t be completed. (Error in the Request error 400.)" UserInfo=0x1767db60 {error={
code = RequestBodyRead;
message = "Cannot convert the literal '0' to the expected type 'Edm.Boolean'.";
}}
谢谢期待!!!