iphone

iPhone - Is it possible to hide native scrollbar in UIWebView?

I would like to hide the native scrollbar / scroller that appears when you are scrolling a UIWebView, but still keep the scrolling functionality intact. Is this possible? Thanks in advance, William ...

iPhone Navigation Bar Images

I'd like to replace the back button and the entire navigation bar in my iPhone app with custom images. First of all, is this possible? Second, if so, how? Thanks. ...

Photos app-like gap between pages in UIScrollView with pagingEnabled

UIScrollView in paging mode assumes the pages are located right next to each other, with no gap. However if you open a photo in the Photos app and swipe through photos, you can see that it has some gap between pages. I want these gaps too. I'm looking for existing solutions if any, or for some more bizarre ideas about implementing the p...

Is the under 10mb iphone app size limit compressed?

In regards to iphone applications larger than 10mb not being able to be downloaded... Does that apply to the compressed or uncompressed file size? Thanks for any help ...

Transparent Modal View on Navigation Controller

I'm trying to create a transparent modal View on top of my navigation controller. Does anyone know if this is possible? ...

How to limit UITableView row reordering to a section

I was hitting my head over this one, and google was turning up nothing. I eventually worked it out and thought I'd write it up here for the sake of the next person. You have a UITableView with multiple sections. Each section is homogeneous, but the table overall is heterogeneous. So you might want to allow re-ordering of rows within a s...

Programmatically zooming, panning a UIWebView for iPhone 2.2.1

Greetings! I'm trying to have a UIWebView controlled from generated events. Is there a part of the documented iphone SDK to programatically create a UIEvent (or action or something) that I can then pass to a UIWebView and have it interpret it like a user's gesture? I'd settle just if somebody could show me or link to just creating a ...

UIWebview landscape formatting with viewport

I'm using a meta viewport as mentioned here http://stackoverflow.com/questions/835040/why-does-uiwebview-shrink-images for UIWebView. This formats portrait fine and I don't have to compensate for weird scaling. However, once rotated to landscape, I can't take advantage of the additional width. Meaning, I'd like to fit more text into a...

Display image as popup

I need to display a table formatted data on top of a UIWebView as a modal. Basically a UIAlertView. However, I need to display tabular data in this modal, which UIAlertView can't do (that I know of). I'm thinking to create an image with the textual data in it and display the image in a UIImageView or that within a UIView that can have...

Modify UITableViewCell from UIViewController with UITableView Outlet on iPhone

Here is the situation, I have UIViewController class with a UITableView outlet. I would like to modify / style the cell. I believe I can do this with UITableViewCells tableviewCellWithReuseIdentifier method. Since my class is not a UITableViewController it doesn't have this method. How can I use this method from the UIViewController...

Tab-like-thing with tab-switch animation in a section of UITableView

I have an UITableView with sections in my iPhone application where it looks as something similar to viewing a contact details in standard contacts app. In one of the sections I have a UISegmentedControl set as a header of the section and the items in that section depend on what segment is selected in the segmented control. What I wanted ...

How do I detect when the iPhone goes into landscape mode via JavaScript? Is there an event for this?

I’m writing a web site targeted at the iPhone. I’d like to set a class on the <body> element when the iPhone’s orientation changes (i.e. when the user turns the phone into landscape and/or portait mode). Can I detect this change via JavaScript? Is there an event for this? ...

How can I get an iPhone app to a client for review prior to public release?

I need to show an app I have developed to a client for review prior to its submission to the app store. The client has an iPhone but not a mac on which to run xCode. I have a personal (not company) iPhone developer account. The client is too far away to visit in person. What are my options? ...

Benchmark UIView drawRect: method

Hi, I am writing an iPhone application in Objective-C that utilizes some custom drawing in views and I would like to benchmark various revisions of my code to see what really helps. I was planing on doing this by setting up a new application, adding my custom drawing code to the drawRect: method of the view, then, in a for loop in the v...

adding screen shots for iphone submission

just out of curiosity. i am thinking to add screen shots for my app subsission that are both oriented in landscape and portrait. does the store auto recognize these formats and apply them appropriately? all the best. ...

iPhone OS 3.0 Access Clipboard

Hi, I am implementing a custom text editor with syntax highlighting and I would like to integrate it into the OS 3.0 clipboard system. So, my question is, is there a way to programatically set/read the systemwide clipboard? Thanks, Kyle ...

Can someone explain these errors to me?

Im getting these weird errors, but I dont understand them. Here are the errors: error: variable - sized object may not be initialized (#1) error: statically allocated instance of Objective-C class 'Joke' (#1) error: statically allocated instance of Objective-C class 'Joke' (#1) error: cannot convert to a pointer type ...

How do I create a page flip effect programmatically?

I'm pretty sure I can create a page flip effect using a series of PNGs to simulate the animation but is there a way to do it programmatically? Tried googling it and looking at Apple sample code but didn't see anything addressing that particular animation. ...

iphone video recording for 3rd generation??

what are peoples take on the iphone video recording? any predictions on quality of video or thoughts on how this might open up the iphone app world? ...

Referencing AppDelegate Methods - iphone

I have an AppDelegate which has 3 views. I add all three [window addSubview:gameViewController.view]; [window addSubview:viewSettings.view]; [window addSubview:viewController.view]; [window makeKeyAndVisible]; In the app delegate, i have some methodes for swapping views by calling [window bringSubviewToFront:gameViewController.view]; ...