What is the best way to store nsdecimalnumbers in a database? Numeric types like float, real and double are out, because it is important to preserve the precision for currency usage.
The two alternatives I have considered are string and storing two ints, one holding the mantissa and one holding the exponent. The challenge facing the lat...
For iPhone Simulator iOS4.0+, NSInvocation doesn't handle exceptions well. I came across a workaround to use objc_msgSend. When I tried it for the below invocation as objc_msgSend(target_, [invocation selector]) and commenting out [invocation invoke] under createResponseFromInvocation() hangs. I tried different ways of calling obj_msgSen...
Hello,
I am using MPMoviePlayerController class for playing the video in built-in media player on iPhone. The project works fine on iPhone 3.0 simulator or device, but it doesn't show the video view on iPhone 4.0 simulator or device, rather than i could able to hear the sound, no built-in player video display.
Does anyone come across t...
hi friends,
i have to do one application that application should be launch from the iPhone native applications like calendar, contacts and mail box etc... is it possible to launch 3rd party application from the native app, whether apple allows the developer to do this.
Thanks in advance...
...
Does anyone know if in-app purchase can be gifted?
...
How can I test multiple iOS versions in the Simulator? I can only seem to test iOS 4.1. I would like to be able to test 3.x versions in the simulator as well.
...
I've implemented the Game Center into my game. However, one thing bothers me which is how to detect when the Game Center launches the popup to sign in. If the user is quick with their fingers and the network is a bit slow, they are able to start a game before the popup starts, which is fine, but I want to pause the game while they sign i...
I have an app that needs to send date (using POST) to a server. This function has to be on one of the NavigationController sub-controllers and user should be able to navigate away from this controller and/of close the app (only iPhone4/iOS4 will be supported).
Should I use threads/NSOperations or/and send data using existing asynchronous...
I'm developing an iPhone game with Game Center integration. The game is being built as Debug (not release/distribution). On the simulator, Game Center always uses the sandbox properly. On the iPhone device itself, it will go for a few days using the sandbox, then suddenly decide to use the real Game Center servers (which results in an er...
Hi,
is there any list which HTML5 features the UIWebView supports and which not? I am interested mainly in:
1) localStorage/sessionStorage
2) offline manifest
3) web sockets
4) web workers
In pre-iOS4 there was not an offline manifest support, which was necessary to program in objective-C, which - when done broke the localStorage s...
i just upgraded my iPhone 3GS to iOS 4.1 and also downloaded the latest Xcode 3.2.4 and iOS sdk 4.1....i was working on an application on previous sdk iOS 4.0 but now when i build the project with new sdk xcode says No Provisioned iOS Device is connected...do i need to install a new provisioning profile for the project?? i cant figure ou...
i am developing an application with the help of sample code from the WWDC 2010 http://developer.apple.com/videos/wwdc/2010/ example - AVCamDemo. in which i need to record a video from front camera of iPhone...since new iPhone 4 is not available at my place i am not able to test the code properly.. i would be really thankful if someone c...
Hello, I'm a beginner at iPhone developing.
Though I've read lots of guides and users' notes I have no exact and accessible answer to the following question: "Are there any ways to execute internal tasks (for example to listen for server activity) in background in iOS 4.x?"
I know that only 3 kinds of tasks are permitted (audio, voip a...
Can anyone please tell me what is this error, I am trying to compile on xcode
"_OBJC_CLASS_$_CATransaction",
referenced from:
objc-class-ref-to-CATransaction in RefreshTableViewHeader.o
And this error
"_kCATransactionDisableActions",
referenced from:
_kCATransactionDisableActions$non_lazy_ptr
in RefreshTableVie...
First some background; for the tl;dr version skip to "the problem" below.
Background
This is really more of a user interface question than a technical one, but I think it fits better here than on the UI site anyway.
Since iOS (iPhone OS) 4.0 apps can run in the background, and actually always does so instead of quitting. Quitting an a...
If I add the button straight everything goes fine. I'd really like to add it inside a view and still be able to click it. Here's the code:
UIView *containerView =
[[[UIView alloc]
initWithFrame:CGRectMake(0, 0, 300, 60)]
autorelease];
UIButton *footerButton = [UIButton buttonWithType:UIButtonTypeCustom];
footerButton.frame = CGRectMake(...
Is there any way to check the availability of iOS app names?
Thanks!
...
Hi,
I'm experimenting with video processing and I'm looking for uncompressed video frames from iPhone. It is possible to record them since iOs 4.0 by dumping a buffer from api to the file..
Google didn't help..
Anybody? Where can I find such videos to download, or perhaps there is an app for that?
...
There are countless apps out there that do this ... but I'm curious as to what suggested way(s) exists for producing the highest quality image.
Example of what I'm looking to do:
Be able to overlay an image of a mustache on top of the iPhone's camera.
Optional be able to resize/rotate that image.
Take a picture and superimpose the ove...