ipad

Objective-C: Is there any event when a Table Cell goes away?

Hello, Is there any message I can override called when a Table Cell goes away (on scrolling the table)? I think it should be something like dealoc. I'm asking this because I have below situation: I have a table with many cells (100+) and each of this cell contains a ImageView. For loading the image (from a URL) I'm using NSOperationQu...

Native app for iPhone!

Hi All, I want to develop a native universal app(i.e for iPhone and iPad) for my orgaization.I want to include some of the essential features of the organiztion website into my native app.For obvious reasons i cant store this huge data into iPhone itself.so data will be fetched from the server but application would be a native app.so ar...

Stopping a custom UIButton reseting titleLabel to IB default on event firing

In IB I have a view with a UIButton of Type Custom, it has no image and the Title is set as "#placeholder" The view is attached to a class that provides an IBOutlet and an IBAction for the button. I set the button title with this: ViewClass.ButtonOutlet.titleLabel.text = @"%@",stringifiedVariable; whenever i need to. This works ok. Ho...

distributing an iPad app during development?

So I got my app up and running on my iPad so I can test it before submitting it for provisioning in the app store. Sweet. Is it possible for me to get the app installed on other iPad's for testing during this phase of development? I have a client who will be using the app and I'd like them to be able to run through it while we iron ou...

UITextView width greater than 512 doesn't show text

Hey guys, Whenever I widen a UITextView to a size greater than 512, with code such as: textView = [[UITextView alloc] initWithFrame: CGRectMake(0, 0, 513, 1024)]; It doesn't display any text anymore... 512 works, any size below that too, but anything greater than 512 and it stops displaying any text. The full code: - (void)loadView...

calling [myString release] does NOT decrement [myString retainCount]...

I have the following situation, which seems to cause my iPad application to leak memory. I have a class with a string property... @property(nonatomic,retain) NSString * synopsis; I set the string property from some HTTP response, either from JSON or XML response. At that point the retain count of the synopsis object is 1. But I have...

iPad orientation change issue

My iPhone application is displaying some odd behavior when run on the iPad with respect to supporting orientation changes. The app starts up with a view controller (call it view A for the sake of argument) and navigation controller, and shouldAutorotateToInterfaceOrientation is returning YES for portrait only. Onto the navigation contr...

makeKeyAndVisible for secondary screen stops UIMenuController from appearing

I present a UIMenuController over a view to display a copy and paste menu popup. This works great, but recently I added external screen functionality to my app. When I present a view and add it to the external screen I call ... [extWindow setScreen:extScreen]; [extWindow addSubview:viewController.view]; [extWindow makeKeyAndVisible...

iPad keyboard appears in wrong orientation

I have a splitView Application that has a rootViewController and DetailsViewController When the application loads the detailsViewController pops a Modal viewController that contains a UINavigationBar. The UINavigationBar has a search bar on it (set programatically). When focus is brought to the search bar the keyboard pops-up. However...

Blank black screen when running my iPad App

I've run into a sort of roadblock with my iPad app. I apparently made some unrecoverable change to my code recently and now it will only launch with a black screen. It displays the LoadingImage for a split second and goes right to black. In an effort to streamline what sort of problem I'm looking for, I'd like some advice on where shoul...

onscroll event not being triggered on iPad after single touch panning?

In trying to figure out the scroll position for a UIWebView, I'm attaching a listener in the HTML that will call back to the main app. I attach the javascript listener like: window.onscroll = function reportScroll() { var sY = window.pageYOffset; alert('Scroll pos: '+sY); // Would evetually trigger a URL or something } This e...

anyway to delete all <a href=> tags with javascript after the page loads on an iPad?

I know that I can run a line of javascript code after the page loads on an iPad with UIWebView (which is what I am using), but I do not know what I could type to go through and remove all of the tags. I also would like to be able to do this to only certain parts of the page e.g. only remove tags within a certain tag. ...

Downgrade iPhone/iPad app to iPhone-only XIB

I recently converted my iPhone app to be for iPad as well by right-clicking on the target and selecting "Upgrade Current Target for iPad". Then, every time I opened the app with the iPad simulator, it opens the newly created MainWindow-iPad.xib. However, I ran into problems, so what I'd like to do is "downgrade" the iPhone app so it onl...

iPad. Block [Settings - Accessibility - Zoom] by code on my application

Hi all, im trying to block the zoom setting on my app. ...

Creating a "My Documents" browser like in the iPad iWork Apps

Keynote, Numbers, and Pages all have a top level "My Documents" browser where you can create, delete, and select for editing all of the documents you've created so far. I'd like to create a document browser like this for an iPad app, but I am not sure where to start. I've Googled and searched here on Stackoverflow, but I haven't found a...

How can I get the iPhone's current network speed?

I want to get the iPhone's network speed so that I can give user an info when the speed is too slow. ...

Convert iPhone app to iPad XIB File Problem

I have an iPhone app that I'd like to convert to an iPad app. To do so, I "Upgrade(d) Current Target for iPad", and then I got a new xib, "MainWindow-iPad.xib". I was building to iPhone/iPad, and correctly had the iPad main window xib set in info.plist. However, when I opened the MainWindow-iPad xib, I was presented with an iPhone-sized ...

Force orientation on iPad - javascript

I'm building an app in the browser for the iPad and was wondering if it's possible to lock the orientation of the viewport? I've checked apple's documentation and the only thing I've found says orientation is read only : http://developer.apple.com/safari/library/documentation/DataManagement/Reference/DOMWindowAdditionsReference/DOMWindow...

I used [scrollView addSubView:imageView] but imageView doesn't appear.

I'm developing iPad app using SplitView. And I put UIScrollView in DetailView by using Interface Builder. Then I add IBOutlet UIScrollView scrollView; in detailViewController.h that was automatically created by Xcode. And connected this scrollView to UIScrollView in DetailView.xib . And I added below code to DetailViewController.m . - ...

How to increase DatePicker height in ipad?

How do I increase DatePicker height in iPad? Is this possible? And also one more doubt is, is it possible to increase the UITableView vertical scrollbar is more visible? (i.e I want to increase the vertical scrollbar width). Every time I load the tableview data, the first time the scrollbar is not visible. When I drag the tableview onl...