ipad

iPhone / iPad Write Lage File over Socket SigPipe error .....

Im using Erica Sadun's CookBook code to open a socket on the iPad and use a browser on my desktop to connect to the socket, provide a list of file (in this case audio files) and allow the user to downloand them to their desktop. Erica's code works fine for small audio files, anything over a few MB's gives me a SigPipe Error and crashes ...

UIWebView init crash on ipad

Hello everyone, I used following code to initialize instance of UIWebView: -(void)viewDidLoad { [super viewDidLoad]; UIWebView *webView; if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) { webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, 768, 964)]; //crash } else { webView = [[UIWebVie...

Custom UITableViewCell erroring

Hello stackoverflow, I am trying to build a custom table view using a cell that I built in IB. I am getting a strange error: <BroadcastViewController 0x4b4f5f0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key postText. Everything is wired up correctly in IB to the cell controller. Not really s...

-performSelector:afterDelay: and modal view controllers

In my application, I have a login screen presented as a modal view controller. Once the user logs in successfully, the modal view is dismissed and the application's data is updated from a web service. The user can then work with the new data downloaded. Periodically, we check to see if any data needs to be synced back to the server. W...

How does the iOS use argc and argv?

When you create a default iphone OS project in xCode, you have a main.m in "Other Sources" on the side panel in xCode. How does the int main() in there use argc and argv and why does it need it? Thanks :) ...

MPMoviePlayer load and play movie saved in app documents

I am writing an application that stores the movies in the photo roll into the local documents folder for the app. I can play remote movies using the MPMoviePlayer, however trying to play a movie stored in the documents folder for the app always returns MPMovieLoadStateUnknown. The notifications are all getting sent and received from th...

how to convert text data to an pdf file and then attatched to mail

i have some data in text format and i want to convert that data to pdf format and then attatch to mail.. i dont want to open that pdf in app... ...

Why is UIView exclusiveTouch property not blocking?

I am launching a simple UIView with a textField - let's call it orderSetNameView - upon a button tap. I wish to make this view modal, but without using a [UIViewController presentModalViewContoller:animated:]. It seems I could simply set textInputView.exclusiveTouch = YES to achieve that. Apple documentation says about exclusiveTouch,...

CGAffineTransformMakeScale Makes UIView Jump to Original Size before scale

I have a UIView that I set up to respond to pinch gestures and change its size, except, once you enlarge it and then try and pinch it again, it jumps to its original size (which just so happens to be 100x200). Here is the code: @implementation ChartAxisView - (id)initWithFrame:(CGRect)frame { if ((self = [super initWithFrame:frame...

Simple scaling on IPad

I'am trying to scale the UIImageView to the full screen on IPad,but its not happening.. :( i'm using CGRect frame to resize the image,but the image crosses the boundary of the IPad. :( I need dis to be completed plz guide me.. :( ...

"UIStatusBarStyleBlackTranslucent is not available on this device. Ignoring UIStatusBarStyle key in Info.plist." - What to do?

I have a universal binary app for iPhone / iPad. In console I always get this log: UIStatusBarStyleBlackTranslucent is not available on this device. Ignoring UIStatusBarStyle key in Info.plist. Must I be worried about anything now? There's just one info.plist for both, right? How could I stop this log to happen? I guess it spam...

iPhone/iPad: Labels Displayed in wrong Font, i use the system fonts!

Hello, since i installed newer SDK's the Fonts i've choosen for some Labels are not shown in IB, only in Edit Mode. There ist always a substitute font showing. I know, that I can't use any Font, so i've chosen an iPad System Font "Chalkduster". The Fonts is installed on my Mac. I also installed the SDK again (3.2.4) Is there any *.plis...

What programming languages can one use to develop iPhone, iPod Touch and iPad (iOs) applications?

What programming languages can one use to develop iPhone, iPod Touch and iPad (iOs) applications? Also are there plans in the future to expand the amount of programming languages that iOs will support? ...

Resource bundles in iPhone

How do I create a resource bundle to use in an iPhone/iPad app? Is it simply a folder with the .bundle extension or do I have to do something else to make it work? Are there any special considerations for Universal apps (ie: do I have to create separate bundles for each platform?) and localized resources? I would like to create and use...

Splitting a touch sequence between multiple UIGestureRecognizer instances

I'm developing an iPhone/iPad app that supports dragging items between table views. Since all the tables don't fit on screen, I've written a custom UIScrollView that lays them out horizontally, and supports paging. While I've gotten the primary drag and drop together, there are a few remaining issues I can't get past. After the user h...

Free bitmaps for iOS custom buttons and sliders?

First, I'm not talking about icon libraries or mockup tools/libraries. I'm familiar with various icon libraries that people have created, but other than the stuff from the example code like UICatalog, I'm wondering if anyone knows of anyone who has created free libraries of custom button bitmaps (stretchable button images), slider handl...

Navigate by page in UIWebView - like setPagingEnabled

Is there a way to navigate within a webview using paging - like UIScrollView's 'pagingEnabled'? There are several suggestions out there about setting this parameter on UIWebViews internal scrollview, but this solution does not work e.g. in the case that you set the webcontent offset using javascript. In this case, the first tap on the s...

[LeavesView Class] NSArray leaking with alot of images

I am using the LeavesView Class available on GitHub by Tom Brow. On the iPad, I have 23 images at 1024x768 ranging from 200-500KB (JPG's). I have compressed the images as much as I could without losing quality. For some reason, when I init with the list of images, the memory drops significantly, and ultimately crashes. Here's some code...

Using 1 AppDelegate for multiple .xib xcode/ipad sdk

Is it a good practice to use one main AppDelegate.h to handle all the ibaction stuff? is it even possible? if so who does one do this? my IB only lets me link to the associated .m file firstView.xib only respond to ibaction in firstView.m I want a button on firstView.xib to respond to ibaction in AppDelegate.m any thoughts? ...

How do you recruit an iPad developer?

I've got a great idea and a lot of money but I am not a coder. How is the best way to find an iPad developer who will partner with me on the project? ...