I have added notification observers for UIDeviceOrientationDidChangeNotification in my appDelegate. But it is not getting called when movieplayer is visisble. But works fine with other views.
...
I would like to know if a method like touchesBegan for touches Event exists for the iPhone keyboard. I mean just how to know when I press a key, which value is it. (Don't display it on UITextfield or UILabel but display it with an NSLog for example).
Is there any way?
...
Context:
iPhone is connected to the PC via cable and power indicated 100% ( the icon of the batter contains a small power plug also)
Question:
In this stage the phone is powered directly from USB or is it using the battery ?
Thanks
...
iPhone - Can we parse .plist(xml) file using NSXMLParser?
Thanks in advance.
Ruchir
...
I am using a UITabBarController with 3 items and am curious how to access a method from the first tab if I am on the second or third tab. The problem I am running into is I have a UIImageView on the first tab that is using core animation to loop continuously through 3 images. But when I switch to the second tab and try to switch back to ...
Hello everyone, I have trouble when I have currency value
999999999999999999.99
From that value, I want to display it as String. The problem is that value always rounded to
1000000000000000000.00
I'm not expect that value rounded. I want the original value displayed. Do you have any idea how to solve this problem? I tried this code f...
I have created an application and I have purchased an account in AppStore.
I wish to configure the app such that it will run for free twice and after that the user will have to purchase the full version. I want to implement the purchase of the full version inside the trial version (using in-app purchases).
...
Hello all ,
I am just about to submit my first iPhone app.
I have put lots of NSLog statements to test and debug the application .
So my question is " Is it ok to keep the NSLog statements in the source code "
and I have a doubt that whether the nslog statements slows down the total execution time or not .
thanks.
...
Hello there,
I have some code which requires an iPhone to run. I do however want to test my app on the simulator. On the iPhone I use this to return a value:
return [NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithInt:-1], @"number"];
I'm looking for something like this I THINK:
- (NSDictionary *) data
{
#if TARGET...
hi all
does anybody know how to add a child key to the root key programmatically in a plist?
sean
...
I am new to iphone development.I want insert my xml parsed contents into a sqlite3 database and retrieve it and display it in a tableView.I am able to parse and directly display the contents using nsxml parser.Please help me how to proceed to store the contents in a database and retrieve it .Thanks.
...
Hi,
I guess I'm just really looking for some advice on how to approach my problem.
So far I have an application with a navigationcontroller that has a table view.
Every cell in the table has a text field and image and a disclosure button.
This is sort of my main menu option navigation screen.
When a user clicks a disclosure button I...
how do i change the image that is displayed for a button when the button is in another view.
...
Hi
I added a category to CLLocation in CoreLocation but kept getting a link error.
I search around and through process of TRY IT AND BE DAMNED I fixed the problem by adding
-framework CoreLocation to Other Linker Flags
But dont know why?
I'm guessing its something to do with CoreLocation being and external framework.
The Code:
CLLoca...
I'm messing with h264 videos loaded with FFmpeg on the iPhone 3GS. The problem is any videos recorded in "Portrait" orientation have a transformation matrix applied to them causing them to display rotated 90 degrees counter-clock.
From what I understand thus far, I just need to modify the transform matrix in the 'tkhd' atom. The problem...
Hi All. I'm basically looking to create something akin to a very simple version of iSteam/iFog alebit for a different purpose. In effect there will be two images, one of the subject matter and the other an image of condensation or some such. The user can then wipe their finger over the screen and it will "cut" that from the top layer to ...
I am trying to develop a simple search mechanism on a UIPicker. The approach I am using is to keep two arrays. My problem is that for some reason I am getting this run-time error.
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[UIView numberOfComponentsInPickerView:]
Here are the array declar...
We have an iPhone application created by an external consultancy that we're planning to add card payment facilities to in a subsequent release.
We plan to host a service ourselves in order to process the payment stuff, with SSL encryption. We have in-house expertese for all of this apart from the (contracted out) iPhone bit.
Are there ...
I am looking for a regex (or other method) that can check and parse app store links. I have an app that can take record these links but I want to check that the format is correct before I accept it.
e.g.
http://itunes.apple.com/gb/app/instapaper/id288545208?mt=8
http://itunes.apple.com/us/app/iq-test-sale/id297141027?mt=8&uo=6
h...
I have some inefficiency in my app that I'd like to understand and fix.
My algorithm is:
fetch object collection from network
for each object:
if (corresponding locally stored object not found): -- A
create object
if (a nested related object locally not found): -- B
create a related object
I am doing the checking on l...