Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mabedan

macrumors newbie
Original poster
hey guys,

here's a basic question i have, but i couldn't find the answer in the reference...

i've a UIwindow, in which i've created a UIView using addSubView. how can i let the appDelegate recieve actions from the subView? i know how to do it when the subView is added through the interface builder, with IBActions... but not when i've added the subView via code.

thanx in advance!
 
I wouldn't recommend that approach. You're better off setting up a viewController to handle the actions of the view. That's one of its purposes in life.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.