iPhone iOS 6 BonjourWeb Xcode 4.5 "Cancel Button Error
Posted
by
Don Larson
on Stack Overflow
See other posts from Stack Overflow
or by Don Larson
Published on 2012-10-27T20:21:33Z
Indexed on
2012/10/31
23:01 UTC
Read the original article
Hit count: 241
I'm working with the source code for BonjourWeb using iOS 6 and Xcode 4.5. BonjourWeb Source code for Xcode
In BonjourWebAppDelegate.m, the setting for showCancelButton:YES in the "applicationDidFinishLaunching: application:" method causes the program to crash when the Cancel button is clicked in the app's browser with the error: 2012-10-27 13:07:45.309 BonjourWeb[1762:c07] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* +[NSNetService dictionaryFromTXTRecordData:]: cannot convert nil to a dictionary.'
How can I rectify this to work properly?
Thank you.
Don
© Stack Overflow or respective owner