ios - Xcode Can't remove UIBarbuttonItem without getting error -


so started app 2 buttons in calenderview : day , week button. want use 1 button , dynamically change name of (that part works) using weekbutton that. want remove day button. cant out of program.

i tried first deleting link in .xib delete button. remove .h file, , .m results in same error :

* terminating app due uncaught exception 'nsunknownkeyexception', reason: '[ setvalue:forundefinedkey:]: class not key value coding-compliant key daybutton.'

cant see why cant remove button...

you`ve deleted outlet code .h/.m file, somewhere in .xib still connected deleted outlet. recheck connections in .xib file sure have appropriate declaration in .h file.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -