iphone

Streaming MPMoviePlayer: overlay button showing up too early.

I am trying to overlay a button on the MPMoviePlayer on my app. I can't get it to work properly on a streaming movie. The overlay shows up on top of the view that launched the movie object (in my case a table view). I'm pretty much following the MPMoviePlayer example exactly. I would also be interested in making the overlay show up if ...

SHowing Actvity Indicator View Using Thread Shows This Error in gdb?

i m using this on uitableviewcell's didselectrow method [NSThread detachNewThreadSelector:@selector(showMyWaitView) toTarget:self withObject:nil]; it works fine but it shows error in gdb like this 2009-08-10 12:45:01.313 FlashCards[1209:6307] * _NSAutoreleaseNoPool(): Object 0x458200 of class UIView autoreleased with no pool in place...

Iphone - release view and no more free memory

-(id)viewWillDisappear:(BOOL)animated { report_memory_str(@"BEFORE RELEASE viewWillDisappear"); self.view = nil; report_memory_str(@"AFTER RELEASE viewWillDisappear"); } When my view Disappear, i try to release current view before push to another controller, i don't get more free memory, why ? How to get more free memory ? 2009-08-10...

Is there a way to convert a .obj file from Lightwave 3D to .h file for OpenGL ES in iPhone?

I am looking for a way to convert a .obj file of Lightwave 3D to a .h file for iPhone. I looked around and has seen several scripts that can generate .h files for you, but all of them cannot understand Lightwave 3D .obj format. If anyone appears to know some sort of methods that can translate lightwave 3d .obj files to .h file, please sh...

How to ensure that UIImage is never released?

I grabbed the crash log from the iPhone: Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000c Crashed Thread: 0 Thread 0 Crashed: 0 libobjc.A.dylib 0x30011940 objc_msgSend + 20 1 CoreFoundation 0x30235f1e CFRelease + 98 2 UIKit ...

Problem in moving MKPinAnnotation on iPhone map

hello all I am building an app that tracks user location on map. I can insert a pin easily, but when the location is changed, the app quits. I have set the default coordinates to 0,0 in viewdidload: method and I have added a pin at that location. I have done this because I want to remove the pin when location is updated and then inser...

More than 1 appDelegate object?

Hi While fixing third-party code I've discovered a really brilliant idea) Guy was using 2 appDelegate objects in project xibs. I assume he thought that this would be some kind of singletone or such. But after some rethinking of that piece of code, I found that there is no technical restrictions on it. Here is my example: simple project w...

Easy way to convert coordinate systems between three views?

It's quiet complicated. I have four UIViews. viewA acts as root container. viewB and viewC are childs of viewA. So viewA contains viewB and viewC. viewD is a child of viewB. I try to "draw" it for you: viewA OWNS ((viewB OWNS viewD) && viewC) I rotate the layer's transform.rotation.z of viewB. So viewB is rotated a little bit. Vie...

Can I customize an ABPersonView in iPhone address book SDK?

Is it possible to customize an iPhone ABNewPersonViewController view? I'd like to inherit the great support the SDK gives for selecting countries and knowing whether a regional "name" is "state" or "province" or whatever, based on the country. But I do NOT need to collect birthday, relationship, etc. Can I streamline the interface t...

Possible to use Buddypress within an iPhone app?

Hi I want to create a community for my venture and also an iphone application for the same. I am thinking of using Buddypress for the community. But is it possible to use buddypress with an iPhone app? I'd like that when user posts a message via the iPhone app, it is also posted on buddypress? Or do I have to write custom scripts for e...

UITextField blurred text

I am having a problem with a UITextField's text being blurred/anti-aliased even with a standard font size. The text will appear crisp when the control is the first responder, but blurred again when it loses focus: Does anybody know how to fix this? ...

UITableView property changing ?

can we change the color and other property of TableView , msg box, and other readymade ui ? ...

How to get any update from Mysql to sqllite in iphone

I have to download only updated data from my mysql database that I have created at server. i also have sqllite database for iphone . Now i want any changes in database would prompt the user for doing updation. Also an update button will be there for updating . how to identitfy the data is updated in the database . Also is there any...

How to identify CAAnimation within the animationDidStop delegate?

I had a problem where I had a series of overlapping CATransition / CAAnimation sequences, all of which I needed to perform custom operations when the animations stopped, but I only wanted one delegate handler for animationDidStop. However, I had a problem, there didn't appear to be a way to uniquely identify each CATransition / CAAnimat...

iPhone gaming: How to animate spaceship explosion?

If one ship is moving toward another and fires on it, how do I animate that explosion while having the firing ship keep moving? Using something such as cocos2d in a 2D game. Any online references are appreciated. Also, does anyone have a reference to the crashlanding game that use to be on the Apple developer site? ...

Unable to push notifications to iPhone in .NET - .PEM certificate problem?

I'm attempting to push notifications to my iPhone, which I've successfully done using PHP. However, I'm unable to open a socket connection to Apple's push servers using C#. I don't think there's a problem with the certificate itself, since I'm able to successfully push notifications using this code in PHP: $ctx = stream_context_create...

iPhone Bookmarks and Session variables (User has to log in twice)

Hello, I'm creating a web application meant to be viewed by iPhones, Blackberrys etc. My problem is that, when an iPhone user adds a link to the app on their home screen, they have to log in twice. The cycle goes like this: User bookmarks the app's homepage User later goes to the homepage They are brought first to the log in screen Af...

View as first responder

Hi all i want to know how to make subView added to content view of cell to become firstResponder.When i touch cell tableViewDidSelectRow methods get called.I have added customView as subView to cell.I have implemented delegate method which gets called when toches in custom view gets ended.But this method gets called after tableViewDidSel...

iPhone screen resolution changes in future hardware

Hi all, Something I've been concerned about for a while as I'm developing my applications is the oft hard coded geometry of images and view components that take for granted the 320x480 nature of the current display generations. I've seen many answers in StackOverflow and in examples / tutorials that hard code in the screen dimensions. ...

tracking two fingers with TouchesMoved

Suppose I have two fingers touching iPhone's screen but just one is moving. TouchesMoved will just show one finger (event). How do I know which of the two fingers TouchesMoved is referring too? ...