I'm debugging restoring transactions and in my debug configuration everything works normally:
IE I call:
[[SKPaymentQueue defaultQueue] restoreCompletedTransactions];
sometime later the queueCalls:
- (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions
and sometime after that it calls:
- (void)...
I want to load file from server etc.http://www.myname.com/myfile.mov to my app and play vdo with MPMoviePLayer but use NSURLconnect to connect web and recieve data but I don't know how to bring data that Type NSdata convert to NSURL for play VDO
...
Ok, it's pretty straight forward to display the Activity Indicator and it fades away when the web page is loaded, but what happens if I want my App to CANCEL loading the web page after XXX seconds?
Like, hey this page is tooooooo slow loading, even thought I have a connection, I still want to cancel (App talking here). HUD is a home b...
I like to write bash shell scripts on my iPhone, put them in an app folder with an icon, plist, etc., so they execute like apps by tapping their icon on SpringBoard. This is not interactive like MobileTerminal since there is no way to get output, but it has its uses.
It works great for simple scripts, but long scripts get timed out with...
We have a restaurant table that has lat-long data for each row.
We need to write a query that performs a search to find all restaurants within the provided radius e.g. 1 mile, 5 miles etc.
We have the following query for this purpose:
***Parameters***
Longitude: -74.008680
Latitude: 40.711676
Radius: 1 mile
***Query***
SELECT *
FR...
I have a Run Script phase configured for my project's target. It is run on every build. Is it possible to temporarily disable this script without removing it from the target?
...
I'm running Xcode, trying to get my app to run on my iphone. I'm getting the error message "the program being debugged is not being run."
...
Hi All,
I am trying to put an image on the left side of the search bar. But the problem starts here that the search bar cannot be resized.
Is there any way to do this i.e. resize the search bar and place a small image by its side.
Help me friends.
Thank You All.
...
Hi,
I want my webview with Rounded Rectagle Corners.
Any help ?
Thanks in advance...
...
I'm wondering if there are any examples atomic examples out there for streaming audio FROM the iPhone to a server. I'm not interested in telephony or SIP style solutions, just a simple socket stream to send an audio clip, in .wav format, as it is being recorded. I haven't had much luck with the google or other obvious avenues, althoug...
Created a View based Project and added a contact to the AddressBook using ABAddressBookRef,ABRecordRef now i wanted to display the added contact ABPersonViewController is the method but how to use in a view based project
...
HI,
In our application i am using corelocationframework when opening application a alert for allow and dont allow.when clicking on the allow for current location we will show current location.When clicking on the "Dont Application" we must terminate the applcation is there is any method to do that.
...
Hi Friends,
I have created a new iPhone application.I have two mach machines. I have created the certificate for running application in iPhone in one mac. Can I use the other mac for running the application in iPhone. But when I try to do so I get an error "Codesign error:Code signing is required for product type "Application" in SDK De...
Hi. presently i am dealing with an application related to address book of iPhone.
The hierarchy is as follows:
John(contact's name)
--->(Edit content using ABPersonViewController)
---->Add Field
----> Add Birthday(SAVE button is disabled)
A new contact is added to it using ABNewPersonViewController. In Add Field of new contact, birth...
Hi all, I'm getting error as below
Program received signal:
“EXC_BAD_ACCESS”. warning:
check_safe_call: could not restore
current frame
warning: Unable to restore previously selected frame.
warning: Unable to restore previously selected frame.
my app is to get wifi information
libHandle = dlopen("/System/Library/PrivateFra...
I've got a UITableView and I can't figure out how to get the size right.
My app is based on the Tab Navigator template. One tab's view loads a NIB that contains a Navigation Controller. The root view controller of the Navigation Controller has it's class set to a UITableViewController that doesn't have a corresponding NIB. The UITableVi...
How to connect to remote mysql from my iphone application?
...
Hi,
I need to have some mechanism to backup and restore some data files from my iphone app, to let my users save their data and restore it at a later point. The best way I have found to do this is through making my own web server in the app, following Erica Sadun's example from the iPhone Developer's cookbook. BUT the example doesn't sho...
Application uses 3.x SDK feature, but needs to run in 2.x devices. The solution seems to be using "weak linking", which I did, but app still fails to * compile * for iPhone 2.2.1: "Framework not found MapKit".
Compile for target "Device 3.0 - Debug" is ok, even installs on my iPod Touch running 2.2.1! Runs ok as long as I don't activate...
I have a really strange orientation issue. I have a sequence of view controllers under a navigation controller. One of them can take any orientation. When I'm leaving the orientation I have to use setOrientation. The funny thing is the rotation takes place as the transition occurs to the next page. This isn't normally a problem exce...