Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 02-16-2011, 09:33 AM   #1 (permalink)
Registered Member
 
Join Date: Feb 2010
Location: Haverstraw, NY.
Posts: 94
antonio15020 is on a distinguished road
Send a message via MSN to antonio15020
Question App crash

days ago I'm looking for solution to this problem but not what it is, can someone help?


*Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x150b50> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key lightButton.'
antonio15020 is offline   Reply With Quote
Old 02-16-2011, 09:42 AM   #2 (permalink)
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,990
BrianSlick has a spectacular aura about
Default

You are trying to do something called lightButton against a plain UIViewController. Plain view controllers don't have a lightButton.

This is probably an issue with your XIB file. You probably need to specify your custom view controller class.
__________________
BriTer Ideas LLC - Professional iOS App Development. Available for hire.

SlickShopper 2 | Free NSLog utility | Leave a PayPal donation.

Are you a newbie? Things you should read:
Definitive Guide To Properties | UITableView Series | Guide To Troubleshooting | Model Object Overview

Do you sit at a desk all day? Walk instead! Follow along with my treadmill desk adventures.
BrianSlick is offline   Reply With Quote
Old 02-16-2011, 09:58 AM   #3 (permalink)
Registered Member
 
Join Date: Feb 2010
Location: Haverstraw, NY.
Posts: 94
antonio15020 is on a distinguished road
Send a message via MSN to antonio15020
Default

I have to review the appdelegate or ViewController?
antonio15020 is offline   Reply With Quote
Old 02-16-2011, 09:59 AM   #4 (permalink)
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,990
BrianSlick has a spectacular aura about
Default

Not sure. Maybe both.
__________________
BriTer Ideas LLC - Professional iOS App Development. Available for hire.

SlickShopper 2 | Free NSLog utility | Leave a PayPal donation.

Are you a newbie? Things you should read:
Definitive Guide To Properties | UITableView Series | Guide To Troubleshooting | Model Object Overview

Do you sit at a desk all day? Walk instead! Follow along with my treadmill desk adventures.
BrianSlick is offline   Reply With Quote
Old 02-16-2011, 10:02 AM   #5 (permalink)
Registered Member
 
Join Date: Feb 2010
Location: Haverstraw, NY.
Posts: 94
antonio15020 is on a distinguished road
Send a message via MSN to antonio15020
Default

Ok, thank you
antonio15020 is offline   Reply With Quote
Old 02-16-2011, 11:36 AM   #6 (permalink)
Reading the Documentation
 
baja_yu's Avatar
 
Join Date: Sep 2010
Location: 45.255019,19.844908
Posts: 5,414
baja_yu has a spectacular aura about
Default

I usually got such errors when I deleted an IBOutlet in code, and left the actual item in the XIB with a now invalid connection.
baja_yu is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 368
7 members and 361 guests
cpsclicker, jeroenkeij, Kirkout, PavelMik, teebee74, whitey99
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,666
Threads: 94,120
Posts: 402,898
Top Poster: BrianSlick (7,990)
Welcome to our newest member, cpsclicker
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:05 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0