ipad

Is it the same write the iPhone and iPad app?

Hi, everyone, I have a question about the objective C. I am writing the iPhone application and I want to app which can also run on iPad. Is there are some change do I need to do? As I set the element in code rather than using the Interface builder. Do I need to reset the x,y,width and height for the application? Thank you very much. ...

Making Youtube Stop Playing When Popover Is Dismissed, Or Using Javascript Youtube Controls

Hi all, So I've run into some problems implementing YouTube videos in popovers. I can get the YouTube video to play just fine, but when the user clicks off the popover (destroying it), the sound continues playing. My solution for this was to have the webview that was displaying the youtube video load a blank html string in the viewDid...

UIPopOverViewController doesn't load detail data in portrait mode.

Hi. I'm having a problem wiht the popOverController in portrait mode of an splitViewController. I have the common UITableView whit customer names so if you touch one of them his personal data are loaded in UITextBoxes of CustomerDetailView. It's working correctly on landscape mode, but in portrait doesn't. I debug step-by-step, and it...

How can i create Custom Style for styleBar of UINavigationBar?

Can i creates my custom style for styleBar of UINavigationBar? ...

touch on window in iphone sdk?

is it possible to handle touchbegin, moved, and ended in UIWindow as it is done in UIView? Is there a tutorial I could review? ...

scroll vs. paint

I'm stuck on the following: I'd like to be able to paint into a view within a UIScrollView and still allow scrolling. I've seen it done in one program. Two fingers down and you can pinch zoom and scroll. One finger down and you draw. If delaysContentTouches=NO, I'm having a very difficult time detecting when two fingers are down reliabl...

Using substringFromIndex on NSMutableString

Hey all Why is substringFromIndex not working for my NSMutableString? Here code similar to what I have: NSMutableString *myString = [[NSMutableString alloc] initWithString:@"This is my String"]; [myString substringFromIndex:5 NSLog(@"myString = %@", myString); //will output This is my String If I use substringFromIndex on NSString...

UIWebView and VGA support

Hi guys, I am outputting a UIWebView on an external screen using the VGA connector and am able to display web pages. The problem arises when a video is embedded in the page. What happens is that the video is shown as fullscreen on the external screen, and completely hides the web page. It doesn't seem to be able to play inline... The...

UIView setAnimationTransition is not working?

i have added one view in UIwindow as [window addSubview:parVC.view]; i toggle the parVC.view through the following , but it is not working/// - (IBAction)flipToback:(id)sender { [UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration:1.0]; [UIView setAnimationTransition:UIViewAnimationTransitionF...

UIImage Faux-High-Res Effect using Interpolation Algorithms

Hello, I'm programming a few picture viewers for the iPad and the problem that I always have is that unless you use a really big resolution image source, when the user zooms, the image will get pixelated. I was thinking that maybe some kind of upscaling filter could be applied to the image when zoomed. Like the ones here http://en.wiki...

PDF rendering issues on iPad

Hi there, I have two questions related to handling PDF rendering on iPad/iPhone. First I'm getting some strange issues when rendering PDF page with CGPDF functions on iPad. Strange, because everything works quite fine on iPhone, but on iPad I'm getting lots of error messages related to PDF, i.e. like below invalid stream length 9785;...

iPad app works on most devices, gets EXC_CRASH (SIGABRT) on some

Hi, I created this awesome iPad game - clean and fun to play, and people that manage to play it more than once love it. In some cases, however, it will not launch for the second time. I can't debug it since it works perfect on my iPad, simulator and on all my friend's iPads. One customer told me that it works on 32GB but not on 64GB iPa...

Fast software rendering on iOS.

Bad news everyone! I'm trying to port old Windows game to iPad and I have a problem. Much of all graphics written without hardware acceleration. On Windows it uses LockRect() call from IDirect3DSurface8 class to get colorbuffer from backbuffer and write some graphics data. After this it uses UnlockRect to send our pixel color data to v...

Is it possible to use iText port for C# in iPad/iPhone projects?

So question is how to import iText C# port in iPhone application development? ...

MKMapView not alway call the delegate to show the annotation

I have a mkMapView with one annotation. The first time every thing is OK. The application call the delegate - (MKAnnotationView *)mapView:(MKMapView *)theMapView viewForAnnotation:(id )annotation {...} and my annotation is working fine. When I need to change to a new map location (with a new annotation) the old one is release the new an...

Adjusting the width of a UILabel in UITableViewCell based on the width of a second UIView in the Cell

Hi, I have a UITableViewCell with two subviews, a UILabel on the left, and a random input control on the right. The random input control on the right can vary in size, as can the length of the text, but since I can set the word wrap of the text on the left, I need to be able to adjust the size of the UILabel based on the width of the ra...

Lauching App with URL (via UIApplicationDelegate's handleOpenURL) working under iOS 4, but not under iOS 3.2

I have implemented UIApplicationDelegate's application:didFinishLaunchingWithOptions: and application:handleOpenURL: according to specification, i.e., application:didFinishLaunchingWithOptions: returns YES and application:handleOpenURL: opens the URL. The code works under iOS 4 (in both cases, i.e., when the app is launched and ...

Settings bundle with non-standard name

May I use a settings bundle in xcode which is not called Settings.bundle? If I have multiple settings bundles (for multiple build targets), must I define these additional names anywhere? My application seems to always look for one called Settings.bundle. ...

display the content of MS Office 2007/2010 files on iPad

Hi all, how can we display the content of MS Office 2007/2010 files (specially .docx) in iOS 3.2 (ipad) ? thanks in advance. ...

rotation based on center of UIView is not working?

hi i have coded in applicationdidfinish method as [m_tabViewController view].frame = CGRectMake(0,15, 768, 90); [m_tabViewController view].center = CGPointMake(670, 0); [m_tabViewController view].transform = CGAffineTransformMakeRotation(degreesToRadians(315)); [window addSubview:viewController.view]; [window addSubview:[m_tabViewCont...