hi i am new to iphone. what i did is cretaing a view with progress bar with IBOutlet,when ever i rotate the view to landscape mode it is not rotatetd. So i need to cretae progress bar programatically. how can i done this pls post some code thank u .
A:
UIProgressView *progressView = [[UIProgressView alloc] init];
progressView.frame = CGRectMake(100,100,100,20);
[self.view addSubview:progressView];
Should get you started.
I would read up on views and view controllers in Apple's documentation. The View Programming Guide for iPhone OS goes into quite a bit of detail for what you want to do. If you have not read the iPhone Application Programming Guide and the iPhone Development Guide I would do so first.
All of these documents are available on developer.apple.com, and also in the help system of Xcode.
Brad Smith
2010-09-01 10:56:58
A:
you have to set the property of size in IB then is't work fine see in below image
this work for both orientations
priyanka
2010-09-01 11:02:35