I have a tableview controller which shows custom cells in a table view. However, the first cell appears under navigation bar. I tried this solution but it didn't work. Any help?
This NSPersistentStoreCoordinator has no persistent stores (unknown). It cannot perform a save operation.
I get the error when trying to save the context... This NSPersistentStoreCoordinator has no persistent stores (unknown). It cannot perform a save operation. here is my code... //… Show more
The documentation - app extension programming guide, says health kot and event kit are unavailable to today widgets in iOS 8. What about above iOS 8? I have seen caledar apps with today widgets. It means event kit is being used. Neerav
macOS 10.15.3 xcode 11.3.1 device iphone 6 iOS 12.4.5 development target iOS 12 problem - app shows launch screen and then shows a black screen without any UI. the app works fine on simulator ios 13 iphone 8. the app worked fine on the device until i accidentally deleted scene delegate, which I have added since. there are no error… Show more
unwind segue not triggered. UIViewController presented modally and dismissed using swipe down gesture.
Here are the steps I took to implement the unwind segue. coded an unwind segue method in VC1. in storyboards, dragged vc2 to vc2 exit button and selected unwind method. unwind method prints a dictionary if it has received. i want to go back to vc1 and vc1 should have some data that vc2 collected. so i expect unwind segue to do it. but… Show more
I have a core data database which has an entity which doesn't store the date it belongs to. each day has one record. how can i query the database with reference to data. for example, fetch results for a date range. Neerav
my call makes a call to HKSampleQuery method initWithSampleType that queries information from healthkit store. I want the main thread to wait until the the query is over so that the block handler updates the global variables in the custom class. I understand concurrency but haven't used it enough. Please help me with this one. my code goes… Show more
no matter what i do, the man flow returns at the earlies point i try to reference cal burned class. i'll describe u the issue. if u can tell me how to do it, i'll be very thankfully. have seens replies from you on many posts previously. what i want to do... query weight and steps from healthkitstore. calculate calories burned as a result.
How can I store step goals in healthkit store? There is not type identifiers for the same. Can data aside from the mentioned in type identifier be saved in healthkit store?
I read the article here... https://developer.apple.com/documentation/swift/imported_c_and_objective-c_apis/importing_swift_into_objective-c and this is what I did. Created a header file for swift file. added @class SwiftFile.h #import MyAppTargetName-Swift.h in the objc file from where I want to reference my swift code. Now in my swift file… Show more
Load more items
Hi, My app reads the steps taken my a user and the corresponding energy burmed. I know I can get the steps taken from the health kit but can I also get the energy bunred correspondingly or do i need to calculate it my self? Without that information, here is the stratgey I have decided. Please help me... Take necessary information from… Show more