Hello folks,

I'm trying to put an UIView (such as footer) on an UIWindow below the
UISplitViewController,
but until now I had no success.

Basically, I'm doing it inside the didFinishLauching method:

self.window.rootViewController = self.mySplitViewController;
self.window.rootViewController.view.frame = CGRectMake(some_position);

UIImageView *img = [[UIIMageView alloc]
initWithFrame:CGRectMake(some_position_below)];
img.image = [UIImage imageNamed:@"some_image"];
[self.window addSubView:img];

------------------------------------------------------------

Could someone tell me how to do it ?

BR, Ceolin.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to