I am developing an iPhone app for creating images using built in graphics and user defined text.
I want to be able to have my app, with built in graphics and user defined text, which can then be sent as a single image (much like a screenshot) to the email app to be emailed.
Is there a way to do this without taking a screenshot, leavin...
I want to send a UIImage to a server with socket. I'm using this code from ADC:
- (IBAction)searchForSite:(id)sender
{
NSString *urlStr = [sender stringValue];
if (![urlStr isEqualToString:@""]) {
[searchField setEnabled:NO];
NSURL *website = [NSURL URLWithString:urlStr];
if (!website) {
...
Hi,all, me again with another noob Cocos2d iphone question.
I've set my Director to Landscape, but when I was looking at the coordinates of the 'Touch Event' it was still picking them up as though the screen was portrait. So they were basically reversed.
x = 100, y = 50
should have been
x = 50, y = 100
No biggie, it was easily ...
I have Three different views on iphone. I switch between different views successfully, but I want to access the 1st view's variable in second view's ViewDidLoad method but I can't get it so plz help me on that.
...
MainViewController.h
@class EventViewController;
@class MainViewController;
@interface MainViewController : UIViewController {
EventViewController *eventViewController;
MainViewController *mainViewController;
//extern int i;
@public
NSString *titlegame;
}
@property (retain,nonatomic) EventViewController *eventViewContr...
I have a content based, read-only iPhone app. Users can select favorite topics, which I need to track. Some topics I'd like to make available between app updates through the App Store. I'll need to track if users have downloaded these particular topics or not until the App Store update is available. This approach will consist of two ...
I'm an iPhone/iPod-touch newbie, and would like to write an iPhone application utilizing the built-in ANT wireless radio. As I found out both the iPhone and iPod Touch have an ANT wireless module, that is used in the Nike+iPod Sport Kit to connect the Nike sensor with the iPhone/iPod.
After some googleing, I didn't find much (one articl...
I want to save the current tab the user is in when he/she quits the application so I can load the application with that tab highlighted when the user re-enters the app.
I presume I use the following method within my app delegate to save the current tab
- (void)applicationWillTerminate:(UIApplication *)application
but how do I gain acc...
I'd like website viewers to be able to play a video on an iphone, without posting the video to youtube, and without them having to install any iphone apps. Are there any other options here?
...
Hi,
I'm wondering if someone can help me understand what is wrong with this block of code. I never get past the sqlite3_prepare_v2 statement and the debugger says :
'NSInternalInconsistencyException', reason: 'Error while creating add statement. 'out of memory''
static sqlite3 *database = nil;
sqlite3_stmt *addStmt = nil;
if(add...
How do sites like Apptism and Appbeacon build their list of apps from the AppStore? Is there some way to query the store and get information such as title, author, ratings, etc.?
...
Does anyone know a good beginners guide to using OpenGLES on the iPhone? I have found some but they all require assumed knowledge which I don't have.
...
Hi All,
I am using a WinSock connection to get the accelerometer info off and iPhone and into a Direct3D application. I have modified Apples GLGravity's sample code to get my helicopter moving in relation to gravity, however I need to "cap" the movement so the helicopter can't fly upside down! I have tried to limit the output of the acc...
When Objective C containers are dealloc'd, do they release their references to the objects they contain or do I need to do that manually?
...
Hi,
I'm still very new to the iphone SDK. Is it possible to hook into a received text message event? For instance if you wanted to display an image whenever a text message is received ...
Having been able to find it in the docs, so I'm assuming no, but wanted to double check before I crossed this off my list.
Thanks,
- Ralph
...
I'm new to Objective-C and development on Apple's platforms, but hopefully I can frame this question in an understandable way regardless :)
I want to parse an XML feed for my iPhone app, and I decided instead of shoving all of the delegation methods from an instance of NSXMLParser into my view controller, I'd wrap this up inside of a Fe...
Hi!
I would like to keep track of the date with timestamp. What objective-C/cocoa class could I use to get the timestamp local to the machine's time settings?
if for example I'm in USA, timestamp should be in terms of the area where I'm at. If I'm in Europe, should be in Europe time.
Small example would be so helpful!
...
Does anyone know why I cannot get the zoom level to work with the native Google Maps app?
Here is everything I've tried so far. All I get is a marker that you have to zoom out of several times before you even start seeing tiles.
//NSString *url = [NSString stringWithFormat: @"http://maps.google.com/maps?spn=%@&q=%@",latlong,la...
After doing some reading, I've found that you can customize the text and color on a UISwitch control. I'm curious if these methods will cause problems trying to get my app approved and included in the App Store.
Sample code taken from iPhone Developer's Cookbook Sample Code:
// Custom font, color
switchView = [[UICustomSwitch alloc] i...
How to you make an NSArray full of multiple instances of a CALayer (all with the same frame, contents etc)?
Background: CALayer takes a bit of overhead to create, so I would like to create a number of CALayers (all sharing the same properties) in the init method of a class (to be used later on in that class.)
...