Posts

Post not yet marked as solved
10 Replies
8.6k Views
I know that UISearchDisplayController was depricated in iOS 8, but it has continued to work well through iOS 12. In iOS 13 Beta UISearchDisplayController crashes an app whenever the search bar keyboard is used. Has support for UISearchDisplayController been removed from iOS 13 or is this a bug in iOS 13 beta? UISearchDisplayController still compiles fine with no errors in Xcode, but crashes when run.
Posted
by grwilde.
Last updated
.
Post not yet marked as solved
7 Replies
4.7k Views
I can get the four new full color watch complications to work fine with the Watch Series 4 simulator and watchOS 5, but when run with a Watch Series 3 and watchOS 4 on either the simulator or an actual watch the watch App crashes - even when the code is enclosed in "if (@available(watchOS 5.0, *)) { }".I get the following error:"dyld: Symbol not found: _OBJC_CLASS_$_CLKFullColorImageProvider Referenced from: /Volumes/Data HD/Development/Developer/CoreSimulator/Devices/EFA36F69-48F8-4E81-AA9E-D30CDE10A652/data/Containers/Bundle/Application/49ECDC51-1814-40AC-A99D-83F11CF742A1/HereIAmWatch.app/PlugIns/HereIAmWatch Extension.appex/HereIAmWatch Extension Expected in: /Library/Developer/CoreSimulator/Profiles/Runtimes/watchOS 4.0.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/ClockKit.framework/ClockKitin /Volumes/Data HD/Development/Developer/CoreSimulator/Devices/EFA36F69-48F8-4E81-AA9E-D30CDE10A652/data/Containers/Bundle/Application/49ECDC51-1814-40AC-A99D-83F11CF742A1/HereIAmWatch.app/PlugIns/HereIAmWatch Extension.appex/HereIAmWatch Extension(lldb)"When I comment out all of the lines of code with CLKFullColorImageProvider I can get the watch app to run OK with a Watch Series 3 and watchOS 4, but then the graphics will not load in watchOS 5.The following is some of my code:case CLKComplicationFamilyGraphicCircular: { if (@available(watchOS 5.0, *)) { CLKComplicationTemplateGraphicCircularImage * template = [[CLKComplicationTemplateGraphicCircularImage alloc] init]; template.imageProvider = [CLKFullColorImageProvider providerWithFullColorImage:[UIImage imageNamed:@"graphicCircularImage"]]; handler(template); } else { // Fallback on earlier versions handler(nil); } break;}
Posted
by grwilde.
Last updated
.