UIView に影を付ける方法です。

(iOS 5 で試しています。)
layerの shadow系のプロパティを設定していきます。実装に QuartzCore を利用するので、実装ファイルに import をしておきましょう。

#import <QuartzCore/QuartzCore.h>

サンプルコードはこんな感じです。下記コードは ViewController.m に実装した例です。黄色いView を画面の中央に作って、それに shadowOffset(距離), shadowRadius (ぼかし), shadowOpacity (透明) を設定しています。

– (void)viewDidLoad

{

    [superviewDidLoad];

    UIView *shadow = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 150, 150)];

    shadow.center = self.view.center;

    shadow.backgroundColor = [UIColoryellowColor];

    shadow.layer.shadowOffset = CGSizeMake(-15, 20);

    shadow.layer.shadowRadius = 5;

    shadow.layer.shadowOpacity = 0.5;

    [self.view addSubview:shadow];

}