I'm working on a relatively simple iPhone app which retrieves external data and subscribes to push notifications. Both of these features work flawlessly on all OS versions in debug and ad hoc distribution mode -- which is likely why the application was admitted to the app store -- but both of these features work unpredictably and often f...
I am currently working on a map-based iPhone application and wish to display some information to the user. For my application, it makes sense to have a setting of some sort where the user can choose Miles or Kilometers. Is there a built in mechanism (maybe similar to string localization) for doing this kind of value switching so that I...
I recently "installed" my app on my iPhone for testing. Everything was running fine but then on occasion, the app would just stop running, and send me back to the home page.
I checked for a crash log but there is none to be found. The directory is there, but no log. I then noticed then when I ran a few other apps, on occasion they wo...
Hello,
I know almost nothing about cryptography, but I would like to figure out how to encrypt
an HTTP live stream and decrypt it on an iphone.
The apple docs for HTTP encryption read as follows:
////////////////////////////
Media files containing stream segments may be individually encrypted. When encryption is employed, references ...
Hi all,
In my project i have to use youtube api and play only audio of the video. We must not show the youtube player. Is it possible to play only audio without showing video using youtube api?
Thank You
...
I have a core data iPhone application.
I have two views on a navigation controller (view A = root, view B = child).
I would like to tell view A to update it's tableView when view B is popped off the navigation controller (i.e. when the user presses the 'back' button). What method is called when this occurs? Do I need to setup some sort...
my protocol:
@protocol ElectricalSystemEngineDelegate
-(void)didRequestMainMenu:(id)sender;
@end
I designed this protocol in order to handle dismissal of a modal View Controller inside my rootView controller. My rootView controller adopts this protocol and is declared as follows:
#import "ElectricalSystemEngineDelegate.h"
@interface...
I've got a UITableView with several entrys, and these are divided up in several sections. If I click on one of the cells, a DetailViewController is accessed. In that DetailViewController, I want to use the data from the selected cell (the cell.textLabel and the cell.detailTextLabel), but I can't access these.
Is there a possibility to so...
Hi,
My code:
stringFromRecievedData =
[[NSString alloc]initWithData:_data1 encoding:NSUTF8StringEncoding];
if (![stringFromRecievedData isEqualToString:lastStringFromRecievedData]) {
[lastStringFromRecievedData setString: stringFromRecievedData];
I get the same "not equal" result even in the second round- even when it is the...
Hi,
I would like to access the contentOffset value from de UIImagePicker scrollView during scrolling. Does anybody have a clue on how to accomplish such a thing?
kind regards,
Tony
...
I have an application which runs on a UINavigationController. Now I would like to add a UIToolbar element to the bottom of each screen. The Toolbar on the bottom should the be customizable for the ViewController that is currently being displayed. My first idea was to simply add the toolbar to the navigationController view and tag it, in ...
How should I handle an incoming call when my application is active? Will my application terminate or pause?
...
Hi,
Is there a way by which we can make a call from within an app or launch an app immediately after the call ends?
I know this is possible because some apps in the app store are already doing this.
Thanks!
...
I am trying to add a data model to an existing Xcode project. I am doing so by...
File -> Add Files... -> iPhone OS/Resource/Data Model -> next -> (name the model) -> Next -> Finish.
What I get is an empty blue folder named mymodelname.xcdtamodel and no editor.
I tried creating a new windows based (use core data for storage checked) p...
What's the best practice to create a few UIButtons in code that are anchored to the bottom of the view with a predefined spacing between each?
...
I'm just learning iPhone application development and found a problem with one of the examples from the "SAMS Teach Yourself iPhone Application Development in 24hrs". The source can be downloaded from http://www.iapps4you.com/iphone/photograbber.zip
Once saved do a build and run in the SDK and then select the little "information" symbol ...
Title pretty much says it all. My app has the URL and password for the file myFile.ext, located at:
https://myserver.com/stuff.cgi?db=mydb
I want to create an NSURL object which, if passed to UIApplication's canOpenURL and openURL methods, will result in appropriate behavior.
Is this possible? If so how? And are there security issu...
Is it possible to alter the text of a UILabel whist its superview is being animated by UIView animations?
Say I have labelView as a sub view of containerView. timerFired is being called during containerView being animated (never before or after). I'm calling setText of labelView during the animation, but its text doesn't change. Is ther...
Let see that I have a string look like this:
NSString *longStr = @"AAAAA\nBBBBB\nCCCCC";
How do I make it so that the UILabel display the message like this
AAAAA
BBBBB
CCCCC
I dont think, '\n' recognize by UILabel, so is there anything that I can put inside NSString, so that UILabel know that it has to create a line ...
Hi,
I have managed to implement a very basic PDF viewer within my application, but was wondering if it was possible to add annotations to the PDF. I have looked through the SDK docs, but not found anything. I have 2 questions really:
Is it possible to do this?
What is the best approach to take?
Is there a framework or library that I c...