Posts

Showing posts from September, 2022

Create calendar with user selected list of calendar types iOS swift

 Solution: The below code can be used to get the user input for which type of calendar he can use for his event save. It can be more types. 1.Local 2.Microsoft exchange 3.ICloud 4.Birthday 5.Subscribed EKCalendarChooser(selectionStyle: .single, displayStyle: .allCalendars, entityType: .event, eventStore: evStore)

Microsoft exchange calender eventID issue in iOS swift

Problem:  I had created the calendar that EKSource type is exchange. I tried to save the event in that calendar then get the eventidentifier and save it in my local database but after saved and got id after second time i had tried to fetch the event it has no more but the event available in calendar but ID changed. Solution: You have to do after save the event use dispatchasync with wait 2 seconds after that save the event ID it will works.Because of updated id available only after that..Then after you can try to get the event by event ID it will works

Add exchange account in iPhone

 Solution: Goto settings in your iPhone -> mail -> add account -> Microsoft exchange then enter your mail id and password then after that your account will be added. For microsoft exchange account you have to pay and get the account.

error build: Undefined symbol: _MDMMotionCurveMakeBezier iOS swift

 Problem: I had installed my new xcode and run my existing project but it shows above error. error build: Undefined symbol: _MDMMotionCurveMakeBezier  How to solve the above error Solution: Because of the previous build cache in xcode.So try to clean the derived data in your app.After that clean the project run it will works good.