Hi all.
I see a few questions about this here, but I can't really understand what exactly I should do to implement rotation of UIViews.
I have two Default pngs for Landscape and Portrait mode, but how the view knows that at a particular time it has to rotate his own content? What methods I should implement, and what allows me to change...
I've using the SpeakHere audio classes in an App I'm creating that must Play & Record simultaneously.
I'm using the newest SDK with a 3.2 device target in a universal app build (targeting iPad & iPhone).
The app plays streaming movies using MPMoviePlayerController and Records audio simultaneously.
This works 100% perfectly on an iPhon...
I've seen a lot of questions related to colored text answered with "check out NSAttributedString", but the NSForegroundColorAttributeName constant that is defined for Mac OS does not seem to be defined for iOS 3.2+
...
My app contains a UIWebView. When the app rotates from portrait to landscape or back, the font weight appears to slightly change. Both bold text and regular text get slightly bolder in landscape, and slightly thinner in portrait.
This does not appear to be the case in Safari, only in my app. Here is an example image, taken as a screensh...
Like many people, I have a splash screen that animates off to reveal the first view of my app. I've been reworking this for the iPad and if you are holding the device in portrait or landscape modes, everything works as intended, the correct default image is used, the correct image that is used to animate this off is used, all orientation...
Just trying to get into the Core Data stuff and getting crossed up right off the bat. In my AppDelegate I have the following code:
- (NSManagedObjectModel *)managedObjectModel {
if (managedObjectModel_ != nil) {
return managedObjectModel_;
}
NSString *modelPath = [[NSBundle mainBundle] pathForResource:@"DataModel" ...
I have a very simple UIScrollView example that simply doesn't do what it's suposed to.
Not sure if it's a bug with the API or a bug in my code.
Basically, I've got a UIViewController with a UIScrollView as it's view.
When I add it to the UIWindow and change the orientation of the iPad I log out the UIScrollViews size, which is incorrect...
Every one,
Currently we are planning to test the new Ipad App and looking for the ideas.
What will be the Test strategy for Ipad?
Types of testing’s we do on Ipad?
Industry Bench mark -
• % Memory Usage on target device
. % memory leaks
• CPU usage on target device
• Performance on 3G network
. Any tool for measuring these metric...
Hi
I created xcode universal project, I am trying to load HTML5 page in UIWebView the
problem is i cant see any control to play movie, and i am getting blank screen on the video
place, in ipad and iphone simulator,
my .html file
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">...
Hi guys! I'm developing EPUB reader on iPad. So, I got a problem.
We know that EPUB is not a paged format. But, I want to show it page by page. Of course, it will be more pages if font size is larger, it will be less pages if font size is smaller.
I want to make it like iBooks.
How to solve it?
Thank you for attention.
...
I have an ipad app that is loading data remotely into core data, I was to constantly display a status update to a label but it looks like everything in my method has to be completed before the message is sent to the UILabel.
How do I get around this?
Sample Code:
-(void) importCollections {
/* code left out for brevity */
for (...
Hello,
I would like to ask if someone has some cue. I load a big image from webserver using ASIHTTP framework directly to the disk. Images about 4096x4096 px.
I need to present this image to user on screen, so I would need to rescale the big image from disk to some considerable resolution lets say 1024x1024 px. The problem for now is ...
Hi,
I am trying to create a UINavigationController with a background Image...
I have the following code at the top of the class where I implement the UINavigationController.
@implementation UINavigationBar (UINavigationBarCategory)
- (void)drawRect:(CGRect)rect {
UIImage *img = [UIImage imageNamed:@"header.jpg"];
[img drawInRect:CGRec...
Hi,
What is considered the best practise when pushing a modal view when using a UISplitViewController? Would you push from the RootViewController, the DetailViewController or directly from the Application Delegate?
Ideally the functionality I am trying to achieve is to have the modal view controller displayed as soon as the UISplitView...
I am fairly sure that this would not be possible, but just want to check.
Is it possible to work out if a user has their iPhone/iPad password protection turned on.
We are working on an application that contains very sensitive corporate information, we would like to avoid having to ask the user their password every time they open the iP...
When we should use global variable and when class variable and why?
I hope your experiences and ideas to share with us who are novice in this platform.
Example:
Let, i need to trace timestamp and position of touch events (eg. touch start, end) on a layer. I can trace it using global variable or class variable of the class which imple...
When UIWebView loads Microsoft word documents, it just loads it as if it's one whole strip of paper, disregarding the separation between pages. Any idea how to display it properly (pages separated from each other), I'm open to lower level programming, or alternatives to UIWebView for loading Office documents. I'm currently using IPhone...
I need to create a rich text editor (for text alignment, fonts, text and background colours, bold, italics, underlining etc) for an iPhone and iPad app. How should I accomplish. I have heard of storing the data as HTML and rendering it in a UIWebView, but how can I allow the user to edit the data without having to interact with the HTML ...
Hi,
I have an Xcode project that uses hundreds of resource images. I have, accidentally, not copied about half of them into the project folder.
Is there away to export my project and copy/consolidate the resources to a new project folder?
Otherwise I have to individually copy and update the files manually.
Thanks.
...
HI
can u send me sample code to add the data to the .plist. .my plist was in this format as follows.kindly help me out
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<string>http://localhost:8888/sample</s...