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

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

Draw This
($0.99)

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

Pic Frame Dynamo: Photo Editing
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-22-2009, 01:51 PM   #2 (permalink)
Pelaez
Registered Member
 
Join Date: Jul 2009
Posts: 12
Pelaez is on a distinguished road
Default

I guess you could just access the height and change it:
Code:
view.frame.size.height = SOMETHING;
(If you check the frameworks, you'll realize that height is a CGFloat, part of a CGSize structure, size is a CGSize structure, part of a CGRect structure, frame is a CGRect, and frame is a property of UIView)

Although if that doesn't work, you could just make a new frame, and use the old properties that you do need, in this case:
Code:
view.frame = CGRectMake(frame.origin.x, frame.origin.y, frame.size.width, SOMETHING);
Pelaez is offline   Reply With Quote
 

» Advertisements
» Online Users: 584
12 members and 572 guests
chiataytuday, Droverson, drviii, Dump3, Fstuff, iamwayne5, jerrasen, kmk, linkmx, scubadivingfool, ThistleCoast, timchen
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 174,550
Threads: 93,727
Posts: 401,266
Top Poster: BrianSlick (7,954)
Welcome to our newest member, jerrasen
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 11:05 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.