iphone

OTA problem iphone

MIME type OTA(Over the AIR) for iphone.... I have created simple application in iphone 3.0. I want to upload my exe(file) in local webservice. Now i want to download this from that site and install in iphone .... How can i did this ? Is it possible ? Can anyone help me? Thanks in advance.............. ...

Cocos2d vs UIKit

When I try to use UIView with cocos2d I have a problem. I create UIViewController, add view to it and add view to window: helpController=[[HelpController alloc] init]; helpController.view=view; [[[[Director sharedDirector] openGLView] window] addSubview: helpController.view]; @interface HelpController : UIViewController { } @end @imple...

Core Data to-many relationships. Are they Lazy Load?

Hi I have the typical model in Core Data (for iPhone) with Departments and Employesss (Department ->> Employee). I dont want to load all employees of a department each time I load it, so I thought I'd create the Employee as a Fetched Property. I thought I could define some Predicate like this: employee.deparmentId = department.departm...

IPhone SDK Sending/Receiving Data with Server

I am building an IPhone application (first one) that needs to send data to the server and responds back data from the server. As im a .net developer I though of creating a web service with 2 call (GetData and SendData) with 1 parameter that sends in XML Data. These will send and get call which will include media content e.g. a picture. ...

How to load an XIB?

I have an app with 2 screens (MainViewController and AboutViewController). Upon the user clicking a button, I'd like to load the AboutViewController screen, which is defined in another XIB. Seems simple, but I can't seem to find my google-fu today. How do I pull this off? ...

iPhone SQLite3 problem - "No such column"

When I run the following query in an iPhone app @"select name, identifier, score, delta from startups order by name ASC" I get the following error in my logs: sqlite error: no such column: score However, running pragma table_info(startups) in my sqlite3 database yields the following: sqlite> pragma table_info(startups); 0|id|INTEG...

How to check for local Wi-Fi (not just cellular connection) using iPhone SDK?

I'm currently using the following to check whether Wi-Fi is available for my application: #import <SystemConfiguration/SystemConfiguration.h> static inline BOOL addressReachable(const struct sockaddr_in *hostAddress); BOOL localWiFiAvailable() { struct sockaddr_in localWifiAddress; bzero(&localWifiAddress, sizeof(localWifiAddre...

[iPhone] Large data hierarchy - How to realize?

Hi guys, I am still trying to develop a small medicine iPhone app. :-] In the last few days I've structured all the data that should be displayed in a table. After reading books and watching a lot of tutorials I've built a couple of simple Table View applications. These apps always had a predefined depth of data. I am not sure if you un...

Replacing a rejected iphone app, would it trigger a whole new review process?

Hi i have 2 questions 1) Will replacing a rejected iPhone binary cause a new review process to start from the beginning? As in suppose that it took 18 days to get a response and it was rejected for some reason, when replacing the binary, would it take at least another 18 days to get another review? 2) Is the reason given in the rejecti...

Why won't this code load my NIB/XIB

I have 2 XIBs with their corresponding View Controllers. Will call them MainViewController and AboutViewController. The names of the XIBs are exactly the same as the names of the ViewControllers. Upon a button click in the MainViewController, I want to show the AboutViewController. I have code like this in the MainViewController: - (...

Optimize fullscreen CALayer animation

Hello all, I've built a very cool looking animation for an end-game state in my (very first) app using CALayers that i'm now looking for a way to speed up - on a 3G iPhone this runs at ~15fps which is ok but on the 3GS it runs at 60fps which looks silky. set-up of the layers/animations below: The 'background' of the app has two layers e...

UITableView does not respond to scrolling the first time it's loaded

I have found that the first time a UITableView loads, it does not respond to scrolling touches -- if it does not have more rows than fit on the screen. If I close the view, then reopen the same object -- it will now respond to touches -- even though it contains the same number of rows. I am not doing anything more than responding to th...

iPhone - calling SOAP services

Hi, I'm learning how to consume web services for a student project using the iPhone. The top answer from http://stackoverflow.com/questions/204465/how-to-access-soap-services-from-iphone suggested using http://code.google.com/p/wsdl2objc/ to consume services. However, I've tried using http://www.weather.gov/forecasts/xml/DWMLgen/wsdl...

How do I change the title of the "back" button on a Navigation Bar

Currently the left bar button default value is the title of the view that loaded the current one, in other words the view to be shown when the button is pressed (back button). I want to change the text shown on the button to something else. I tried putting the following line of code in the view controller's viewDidLoad method but it do...

iPhone current user location coordinates showing as (0,0)

I'm trying to get the users current latitude and longitude with this viewDidLoad method. The resulting map is correctly indicating the current location however the NSLog consistently shows: 2009-09-19 16:45:29.765 Mapper[671:207] user latitude = 0.000000 2009-09-19 16:45:29.772 Mapper[671:207] user longitude = 0.000000 Anyone know wh...

Need help with many-to-many relationships in core data for iPhone

Hello everyone, I have come to a roadblock in my current project. I basically have an app that is much like the Core Data Recipe app... Here is the basic structure I have in my .xcdatamodel Entity: Restaurant String: name Category: category <---- to-many relationship Entity: Category String: name Restaurant: restaurant <---- to-many re...

Xcode 3.2 documentation, missing symbol definitions like CGPoint?

I went into Xcode -> Preferences -> Documentation and grabbed everything there that makes sense. Yet when I option+click common symbols like CGRect or CGPoint I get: Documentation not found for the symbol 'CGPoint'. Click here to view symbol declaration. This wasn't an issue with versions previous to Xcode 3.2. What am I missing? ...

Apple iPhone certification

Hi All, I am developing my first App for iPhone, I am planning to submit it for certification. I have designed for my application for OS 3.0. I realised that the OS 3.1 was released recently. I wanted to know if the application must be compatible with OS 3.1 for it to get certified. Thank You, Ashvin ...

iPhone UIView Question. How to get notified when a UIView becomes completely hidden?

I have a have a strip of UIViews that slides horizontally behind a UIView "window". Only the UIViews within the bounds of the "window" are seen. As a view becomes hidden I would like to be notified so that I can perform some task with the just hidden view. What is the best way to do this? ...

Guidelines for building web pages specifically for iPhone and iTouch

I need to build a couple of pages that will only be ever viewed from either an iPhone or an iTouch. Are there guidelines or tutorials for building such pages? ...