iphone

iPhone MPMoviePlayer Hide Controlls but Play and Timeline

Hi, I know about the MPMoviePlayerControlModes VolumeOnly, Hidden and Default. In some apps I've seen some players with rewind 30sec and just start/pause + timelime above. Was that a custom created view? If so how was it recreated including the fading controls on a touch especially how is that timeline recreated? I know how to impleme...

[Iphone] - Problem in saving file using NSCoding

Hi everybody, I've a problem with Iphone programming... I've a NSMutableArray containing object of type "MyClass". MyClass has some parameters, like NSNumber and NSString. I've followed the Apple Tutorial about coding and decoding object using NSCoding, but when I try to decode the file I've stored, the NSMutableArray contain object of...

Custom color my UIActivityIndicatorView

I would like to have my UIActivityIndicatorView be colored a custom color. Is there any way to set this property? ...

iPhone UITableView trigger a parent method?

Okay, so I'm working on an iPhone app with a preferences-esque section where there's a base TableView, which has one section, and several rows of customized cells to hold a name and a value label. Clicking on a row brings up another View, which allows the user to pick from a list (another TableView), and select an item. All of these Tab...

Prevent header from being updated after calling reloadData?

I have a UITableView with a custom header that maintains some state. When I call reloadData to change/update the data in the UITableView, the header gets reloaded too. Is there any way to prevent this behavior in order to maintain state in the table's header? ...

How to change background color of view that appears when edit button is pressed in the more section of a UITabBarController?

Hi How to change background color of view that appears when edit button is pressed in the more section of a UITabBarController? Thanks ...

How to create a bundle

Hi there, how do I create a bundle with resources like images and xibs to share it between apps? I saw that there's a way to do it when creating a new project, but there must be a way to do it based on a finished project, right? Thanks in advance –f ...

Getting touch events from points -6,0 to 320, 470

Hi, I am just trying to program a simple drawing program. Along with drawing, I would like to know the points that I am currently touching. I am just using a window, subclassed viewController and a subclassed view.I also hid the status bar. Everything seems to work the way it is supposed to. The thing is that I can't get it to draw with...

How to make music plays from begging of the app until a viewcontroller has been presented?

Hey guys I have a problem with an app Im making. The thing is I want to add it some background music, but I just want to add it in the main view. My app has 3 view controllers: Main View Controller, Second View Controller and Third View Controller. What I want is to start the music in the Main View Controller and stop it when the Third...

server client iphone with json

I am trying to make a server client app for iphone and I am using json. I want to load and store some text and some images to my sql server. I was able to get the text from my server but not the images and I have not figured out how to post things to my server.Am I in the right track here or should I start using xml. Can anybody help me?...

iPhone SDK: Populate Table View From Core Data

I am looking for a tutorial that shows how to populate a UITableView from core data, allowing to add records and delete them. There are a few projects that I have found, but they are hard to follow without the steps to build them. Anyone seen tutorials on this? Or better yet, videos? ...

Changing pointer of self

I have an object that I alloc/init like normal just to get a instance. Later in my application I want to load state from disk for that object. I figure I could unarchive my class (which conforms to NSCoding) and just swap where my instance points to. To this end I use this code... NSString* pathForDataFile = [self pathForDataFile]; if([...

UITableView doesn't remember its scroll position

I can post code, though I'm not quite sure where to start. I have a UITableView with custom cells, in the middle tier of a three-level UINavigationView scheme. When I drill down to the bottom level and see details about my data, then use the top-left back button, my table view comes back scrolled all the way to the top, rather than scrol...

Custom iPad 10-key popover possible.

Hello everyone, and thanks for your responses in advance. I have been looking around for the possibility of having a 10-key, numeric only, input available when a user clicks on certain fields that do not require the use of the full size keyboard. I know that popovers can properly display custom types of input, but does anyone know if ...

UITableview to autowrap long text

How can I get a UITableView to automatically wrap text which is longer than the width of the cell? ...

Slow synch of files form iPad to webserver?

I'm building a recording iPad application that will take some moderately large recordings on the iPad (5-10 minutes of full audio roughly 5-10Megabytes in size.) How can I synch such large files to my web server for use? I want the synching to occur asynchronously in the background. Is there an existing library/utility to synch files ...

Presenting/dismissing modal view controller which contains a table makes the table go down

I present/dismiss modal view controller with tableview in it. Each presenting/dismissing causes the table to move down, leaving a gap between the table and top of the view. so each time i present after a dismiss, i see my table going down one row-height distance . keeping the routine, the table really 'leaves ' the screen. Please help. ...

how do i scroll through 100 photos in UIScrollView in IPhone

I'm trying to scroll through images being downloaded from a users online album (like in the facebook iphone app) since i can't load all images into memory, i'm loading 3 at a time (prev,current & next). then removing image(prev-1) & image (next +1) from the uiscroller subviews. my logic works fine in the simulator but fails in the device...

Installing 2 versions of app on one device

I've got two branches of an iPhone app going. I would like to load them both onto my provisioned iPad at the same time. The iPad sees them as the same app though and writes over whichever one is currently installed. Does anyone have good system for loading two versions concurrently. Thanks! ...

Why does the release build of my iPhone app crash on the device on the first run after installation?

I have an iPhone app that's been in development for about 2 weeks. We recently tried the "release" version of the build on a device, and to our great unhappiness, it crashes in one of the views with an "EXC_BAD_ACCESS". This crash only occurs on devices, and only in the "release" build. Not only that, but it only happens the first time ...