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

View Single Post
Old 02-15-2009, 09:05 AM   #21 (permalink)
farshadmb
Registered Member
 
Join Date: Jan 2009
Posts: 35
farshadmb is on a distinguished road
Unhappy Is not working probably!

Quote:
Originally Posted by kordos View Post
This almost works for me - but if my rootController.view is (or has any subviews of) type UIImageView, the image is immediately expanded to 480x320, regardless of the original size of the image.

I had to add re-create the CGRect manually to restore the image to the desired size (larger-than-screen) and position (negative offset), like this:

myView.bounds = CGRectMake(0, 0, screen.bounds.size.height, screen.bounds.size.width);
myView.transform = CGAffineTransformConcat(myView.transform, CGAffineTransformMakeRotation(M_PI / 2));
myView.center = window.center;

CGRect myFrame = myView.frame;
myFrame.origin.x = 0.0;
myFrame.origin.y = -400.0;
myFrame.size.height = 1281.0;
myFrame.size.width = 201.0;

myView.frame = myFrame;

Now, it works .

My thanks to those who have come before me!
debug console return me symbol(s) not found but when add application services disappear but give me another problem exit with status 1;
farshadmb is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,633
Threads: 94,090
Posts: 402,789
Top Poster: BrianSlick (7,990)
Welcome to our newest member, nor9849
Powered by vBadvanced CMPS v3.1.0

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