Posts

Post not yet marked as solved
3 Replies
3.8k Views
I'm having an issue with the displaying a PDF using hte new PDFKit Beta for ios 11 beta. When loading the pdf in PDF view, the PDF displays. However, about the top inch of the page is clipped. I can touch the view and pull down to scroll the pdf so that I can see the top inch of of the PDF. I can't seem to find a way to make PDFView scroll and display the top when the pdf is originaly loaded. Am I missing something? Here is my code, which is based on the PDFAnnotationAnnotationWidgetsAdvanced.if let documentURL = Bundle.main.url(forResource: "Acupuncture Intake", withExtension: "pdf"), let document = PDFDocument(url: documentURL), let pg = document.page(at: 0) { pdfView?.document = pg.document pdfView?.autoScales = true pdfView?.backgroundColor = UIColor.lightGray pdfView?.displaysPageBreaks = true; pdfView?.displayMode = .singlePage }
Posted Last updated
.
Post not yet marked as solved
3 Replies
2.8k Views
I've deployed my first swift iOS app that supports iPhone, iPad, and Mac. However, when I look at the app in the Mac App store, the App says it is not compatible with my intel mac that i build ran and test it on. Looking at the listed requirements under compatibility in the store says that it requires iOS 11 and a mac with the Apple M1 chip. Is there a way to make my app compatible with intel Macs as well? This is a little frustrating.
Posted Last updated
.
Post not yet marked as solved
0 Replies
529 Views
Is it possible to get the complete source code project for the Book club app in wwdc20-10040. I look through the WWDC source code, but could not find it.
Posted Last updated
.
Post not yet marked as solved
3 Replies
4.0k Views
I performed the steps outlined in the using CoreData and Cloudkit wwdc session with xcode 11 beta 2: 1) Create new master detali project 2) Enabled Coredata and Cloudkit3) Added Cloudkit capability (Which also adds Push capability)4) Added Background modes with Remote NotificationsI've fired up two devices in he simulator and added new entires. The new entries are added to Cloudkit from the devices. I can see them in the cloudkit dashboard. However, the devices do not get updated with the entries that were added with the other devices.Also if I delete the app on the devices and reinstall, it does not pull any of the entries that are stored from cloudkit, even the ones entered on the device. So it appears that things are getting written from Core Data to Cloudkit, but reads from Cloudkit are not working. I know that this is still in beta, but should the reads from cloudkit be working?
Posted Last updated
.