I’ve spent the past 3 days searching online and cannot find a definitive answer or instruction on how to achieve this. Can anyone please enlighten?
Search results for
calendar
1,868 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hello deeve, An online search for google calendar API iOS may have results that are helpful. —Jason.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
While I agree with you answer in general, this isn’t quite right: As far as it is concerned, each day is exactly 86400 seconds long. Date doesn’t have the concept of days; rather, Date is just a floating point offset from the reference date. To deal with days you need to involve a calendar, and in that context days aren’t always 86400 seconds long because of daylight saving time transitions. If you’re interesting in leap seconds, there’s been a lot of discussion around it on Swift Forums recently, centred around SE-0329. Notably, that proposal specifically chose to not deal with it because it remains a tricky issue. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic:
App & System Services
SubTopic:
General
Tags:
Hi, I am developing an app which has a calendar integrated. This calendar comes from a package called CalendarKit (https://github.com/richardtop/CalendarKit ). With this calendar you can access to all the events of you mobile integrated calendar and create new ones, modify them, delete, etc. All the events on you mobile calendar are going to be represented here and the same in the other way, everything that you create here will be represented on you mobile calendar. So the main question is. How can i access to the 'Delete Event' action inside the 'Event Details' view? I know that i can delete an event programmatically, but i need to modify the behavior when clicking on the item 'Delete Event'. Is there any possible way to access to this item inside event details and when clicking on it do a custom action?. For example, when clicking i want to: print a text in the console, show an alert, get the EventID of the event deleted, etc. Can somebody help me with t
Unix time / POSIX time and the time_t struct ignore leap seconds and as an extension, Date does so as well. As far as it is concerned, each day is exactly 86400 seconds long. This means that Date.timeIntervalSince1970 is actually a bit of a lie. These timestamps that you get are the number of seconds since 1970-01-01 minus the number of leap seconds that have occurred since then (which are 27 as of now). Ignoring these leap seconds in the timestamps is useful because it allows to represent dates in the future without any problems (it is unknown when future leap seconds occur). When they happen – as one did on 2016-12-31T23:59:60 – the system just repeats the previous timestamp for 23:59:59 and then continues to count up normally. So to answer your question: no, it's not a bug that Date, DateFormatter, Calendar and all the other time&date components in Foundation ignore leap seconds, it's a deliberate design decision.
Topic:
App & System Services
SubTopic:
General
Tags:
Anyone else having an issue with iOS 14 calendar widget? When I select the widget, instead of going to today’s date/year, it goes to the correct day, but wrong year. It goes to 2019. Very annoying!!
I’m 2022 my calendar widget shows a different year as all the others. No fix yet.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Greetings everyone I've been enduring this so called app switcher lagging since six month's ago until today that I finally discovered that it was I caused by some IOS third party applications that been overlooked , due to data corruption of this third party apps that will be automatically installed after factory reset by IOS and consequently being discovered as a first party app and ignored to be re-installed after the upgrade which it will prevent some users to reinstall them after updates including (file , notes , reminder , calendar , contacts , voice memos ,weather ,maps, calculator applications ) and utility applications (compass , measuring ) which they are made by apple . as a result in order to remove the corrupted information of this applications they must be reinstalled including any other third party applications that where installed in you 'r phone before the upgrade . However the second solving that I discovered is turning off the perspective zoom of wallpaper which can be turned off fro
Topic:
App & System Services
SubTopic:
Core OS
Tags:
You might be able to override this behavior by assigning a blank view to tableView.tableHeaderView with the height that you'd like, but there's more to this rabbit hole. The visual style of table views in popovers is inconsistent across Apple's apps, like Calendar, Pages, and Numbers, so it's unclear what the right thing to do is. Depending on the context, the table view's background color may be a flat gray instead of systemGroupedBackground, as recommended by the HIG. The padding you mentioned may or may not be present. The popover's drop shadow may be darker than the default. When view controllers are pushed in the context of a navigation view controller in a popover, the popover may elegantly change size during the transition, compared to the default behavior which is to change size only after the push transition has completed. Animating the popover's size in concert with the push transition is tricky to achieve and requires a lot of experimentation. I haven't looked at iOS 16 yet.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags:
Hi I have built an application and trying to publish it to App Store Connect to do a TestFlight. My application is called Meeting Reminder App with an SKU of DanD.meeting-reminder. For some reason, every time I try to distribute the app to the App Store Connect, an email gets sent to me with this error: We identified one or more issues with a recent delivery for your app, Meeting Reminder App 1.0 (21). Please correct the following issues, then upload again. ITMS-90683: Missing Purpose String in Info.plist - Your app‘s code references one or more APIs that access sensitive user data. The app‘s Info.plist file should contain a NSCalendarsUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. For details, visit: https://developer.apple.com/documentation/uikit/protecting_the_use
I'm looking to replace my current MacBook Pro (2015) with 16GB RAM and an i7 processor. I talked to a specialist at the Genius Bar who told me that the M1 is hands down faster than the processor I have, however to replace a MacBook is expensive and I'm looking to go cheap. Will an M1 in an Air with 8GB RAM work for development of iOS (Xcode) and Android apps (Android Studio) with and without Flutter? This includes running Simulator and Android Emulators. In addition I tend to leave lots of programs open, specifically Slack, Microsoft Teams (and Microsoft Office programs), Discord, Evernote, VSCode, Xcode, and a lot of the preinstalled apps (Mail, Messages, Calendar, Music, Safari, etc) and don't want to sacrifice that ability.
When I first submitted my application to the app store for approval, I received the information that my account investigation was rejected, and I received it after a week. Hello, Upon further review of the activity associated with your Apple Developer Program membership, we have determined that your membership, or a membership associated with your account, has been used for dishonest or fraudulent activity. Therefore, your Apple Developer Program account has been flagged for removal. Specifically, we found that your account is associated with terminated developer accounts, or accounts pending termination, in direct violation of the Apple Developer Program License Agreement, which states: You will not, directly or indirectly, commit any act intended to interfere with any of the Apple Software or Services, the intent of this Agreement, or Apple’s business practices including, but not limited to, taking actions that may hinder the performance or intended use of the App Store, Custom App Distribution, TestFlight,
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
App Review
App Store Connect
Basically I need a view with a calendar that will show data attributes from the item. I've tried two different approaches both have their listed problems. There must be a better way to do something like this. Surely it's not ideal to create a new item every time a date is opened or constantly check if something is there, but I don't know any other way. Actual View: import SwiftUI import CoreData struct ContentView: View { @Environment(.managedObjectContext) var managedObjContext @Environment(.calendar) var calenda @Environment(.dismiss) var dismiss @FetchRequest(sortDescriptors: [], predicate: NSPredicate(format: timestamp == %@, Date.now as CVarArg)) var items: FetchedResults @State private var date = Date.now var body: some View { NavigationView{ VStack{ DatePicker(Calendar, selection: $date, in: Date.now...,displayedComponents: [.date]) .datePickerStyle(.graphical) .onAppear(perform: { if (items.isEmpty){ PersistenceController().addItem(date: date, context: managedObjContext) } }
Main Struct @main struct TestForWeagleWeagleApp: App { let persistence = PersistenceController.shared // initiates the CoreData stack var body: some Scene { WindowGroup { ContentView() } } } Persistence import Foundation import CoreData class PersistenceController : ObservableObject { static let shared = PersistenceController() let container: NSPersistentContainer init(inMemory: Bool = false) { container = NSPersistentContainer(name: Test) if inMemory { container.persistentStoreDescriptions.first!.url = URL(fileURLWithPath: /dev/null) } container.loadPersistentStores(completionHandler: { (storeDescription, error) in if let error = error as NSError? { fatalError(Unresolved error (error), (error.userInfo)) } }) container.viewContext.automaticallyMergesChangesFromParent = true } func addItem(date: Date){ let context = container.viewContext let item = Item(context: context) item.timestamp = date item.word = nil contextSave() } func addToItem(item: Item) { item.word = Test contextSave() } func removeFromItem(item:
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
As per my comment on your other post, I've had a good look at your code and make the following observations: Your PersistenceController is a struct and you reference it a number of times in your Views e.g. PersistenceController().removeFromItem(item: items[0], context: managedObjContext), which means that your CoreData stack is being recreated each time (ie numerous copies) - with unpredictable results. The PersistenceController needs to be an ObservableObject class singleton, i.e. with let shared =PersistenceController(), and then refer to the shared instance. the date that you set from the calendar picker is the time of picking, i.e. date and time, so your predicate, which also uses the current date and time, will probably never match. I assume that you're looking for an item (or items) that occur on a selected day (date only, not time). The predicate therefore needs to search for a timestamp that occurs within the start and end of a day (date). It's not clear where, or if, you created the @StateOb
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: