I'm writing an app that will offer OCR of an image captured by the iPhone camera. I want to test the image before I perform the OCR analysis to see if there is sufficient lighting. Anyone have any ideas?
...
In a small team where everyone is coding away on a project for a little while I want to encourage some different thinking to keep people increasing their iOS knowledge as well as to get a bit more variety in their daily activities. I'm not looking for interview questions involving manhole covers, nor very specific questions about whether...
I need to closely monitor the scale of the scroll view so that I can update the content view's elements (a subview managing multiple CALayers) according to the scroll view's animated zoom.
On iOS 3.1, overything works as expected, I use zoomToRect:animated: and the scrollViewDidScroll: message of the UIScrollViewDelegate gets called rep...
I've done some searching around and haven't found any good references for non-touch events provided to mobile browsers. Does anyone know of any good resources for what tilt events are supported or have experience with such things?
I'm really looking forward to adding some yaw controls.
...
I have a view hierarchy which contains smaller views on a scroll view. Each view can have subviews in it such as buttons etc.
For some reason, buttons on the view aren't clicked; exploring this further showed that while the scroll view receives the touchBegan event, the button does not. Calling the hitTest:event: message shows that the...
I'm only one month into my iOS development, and already have a sweet gps app running perfect on the iPhone simulator. I'm about to pay the 99 USD to be able to try out the app on my real device (iPhone 4). My question is: can I unplug the device after downloading the app. What I mean is, can I test my app unplugged from my computer witho...
I am considering caching an entire web page locally on the iphone, i.e. I want to provide a url and have the device download all the assets automatically.
ASIHTTPRequest offers a cache, but as far as I understand it will only cache whatever url you feed it. I wonder if anyone has implemented a caching mechanism that will parse the downl...
In the Audio Session Cookbook there is a section on "Checking if Other Audio is Playing During App Launch".
I'm using MonoTouch (but feel free to give an Objective-C answer, the API is the same), so the code from that document looks something like this:
bool otherAudioPlaying = AudioSession.OtherAudioIsPlaying;
if(otherAudioPlaying)
...
Does anyone know how to determine determine the "Cross-Track Error"?
For those who are unfamiliar: You are driving along a line from Point "A" to point "B". When in transit, when you veer off that line, the distance from your current position to the line is the cross-track error.
I have a simple algorithm now which works, using basic ...
Hello,
I'm working without InterfaceBuilder.
I've an instance of MKAnnotationView with setDraggable on YES,
In My MKMapView my annotation view is displayed and I can drag and drop it.
How can I execute an method when the drop action is performed?
In this method I need the new coordonates of my annotation view.
...
Hi all! I'm new to iOS development. And i can't find an answer to a question how does application update system work. I want to write a game which will have a set of levels. Then i want to be able to add new levels to the game (after it was uploaded into app store). So my game should be updated. And i don't understand how to do this.
...
I want to register a function on a UISegmentedControl for the event UIControlEventTouchUpInside -- not UIControlEventValueChanged. I specifically want to ensure that it fires only when the user touches within the item, not when its value is set programmatically.
Any suggestions?
...
From the Getting Started with Game Center doc
A player might have the same Game Center enabled game loaded on multiple devices. If your
app has reported progress on an achievement from one device, note that the same
achievement progress data will be provided by Game Center on other devices where the user
plays your game. However, other ...
I suppose this question is language-agnostic, tho I'm asking it in regards to building an iPhone app that uses the new Game Center API, but please feel free to answer in general software engineering terms.
I'm building a game for the iPhone that takes advantage of the new Game Center capabilities (i.e. Auto-matching, leaderboards, achi...
So this is the question. Why does it do it? Even when a do something like this
NSLog(@"view's retainCount %d", [viewController.view retainCount]);
it increments the retain count.
...
From the Getting Started with Game Center doc...
Always check for network errors when reporting achievement progress to Game Center. If there
was an error, it is important for your app to store any progress updates for later retransmission.
This retransmission should occur at the soonest opportunity and without requiring separate
user a...
Hi. Can someone please tell me how to determine the unicode character point of a multi-key combination that includes the "command" key? For example, if a user presses the "command" key and "1" key on the keyboard at the same time, what is the unicode character representation for that?
Maybe I'm searching on the wrong thing, but I am not...
Which Facebook extended permissions makes the interested_in property of friends show up?
I've tried using friends_about_me, friends_relationship_details, and friends_relationships.
Which one is interested_in located? I'm using the Facebook SDK for iOS devices by the way.
If not enough are found, is it because I'm doing something wrong...
I have a view that has rows and columns of imageviews in it.
If this view is resized, I need to rearrange the imageviews positions.
This view is a subview of another view that gets resized.
Is there a way to detect when this view is being resized?
...
I've included the function that is handling all of the save functionality.
Here's my problem.
I am grabbing 5 input values and saving it as a CoreData Log Entity.
Even when the Log object fails to validate, it is still being saved when I back out of the form and look at the table view.
How can I force Core Data to only save the ob...