iphone

Does setting the Base SDK to the latest version really make sense?

The advice from Apple is to always set the Base SDK for iPhone/iPad projects to the latest installed version of the OS. At the current time this would be iOS 4.0, although 4.0 is only just about to be released so the vast majority of users will still be using 3.X. Obviously there will be features and functions available in 4.0 which don'...

UINavigationController - send selector to current view?

Hey. I have a reload-button in my UINavigationController that is supposed to send a reload-selector to the current loaded view, or the view on top, I don't know what to call it :p I have no idea where to start, so if someone could give me a pointer (no, not that kind :p), that would be great :) Thanks! ...

resizing UILabel's with on UITableView when change in orientation occurs

Hi... I've 3 UILabel's inside a custom UITableViewCell. The width of these UIlabels must change when the device changes it's orietation because the tableView's width changes. My problem was how could I resize the label when the device rotation happens. ...

regarding lauch image for iphone

Hi, Iphone HIG Page 131 says this It’s important to emphasize that the reason to supply a launch image is to improve user experience; it is not an opportunity to provide: ■ An “application entry experience,” such as a splash screen ■ An About window ■ Branding elements, unless they are a static part of your application’s first scree...

Lazy loading in map view ??

I have to show large set of location records in tableview and mapview depends on user switching between views. How lazy loading can be implemented?. I don't want query central server for location for even small change in location. ...

iPhone App : Wireless connection fails after sleep...

I have a problem with a new app I am writing. The app connects to the internet to download an xml file which it uses in the app. It goes back regularly to sync the data - basically to check if it has changed. This all works fine but I am experiencing a problem if the iPhone has gone to sleep. When it wakes up 9 times out of 10 the wirele...

Matrix stack capacity is a little in Android NDK.

I created renderer and loader of DirectX8 retained mode on iPhone/iPod/iPad/MacOSX/Windows. DirectX8 retained mode format is scene graph style, and hierarchy so deep. So, only Android NDK OpenGLES was occurred GL error code 0x503,0x0504(command stack over flow or under flow). Is stack capacity of android a little? Who tried to check cap...

Persistent UIBarButtonItem in UINavigationBar?

Hey. I have an UINavigationController with a UIBarButton to realod something. However, when I push another view on the Navigation Controller, the BarButtonItem disappears. How can I avoid this? Do I need to add some code in the NavigationController, or set a property for the BarButtonItem? Thank you. ...

How to disable back button in iPhone Application

Hi all, In my project when we select item a item i am showing the details in next controllers but i have i am getting the details using Libxml, I have to disable the back button while loading the page how is it possible, please help me Thank You ...

UIScrollView scroller color?

I have a UIScrollView which I am applying a black background, which blends in the scrollbar. I have been looking for a way to change the scrollbars color to white, but I cannot figure it out. Is there a proper way of doing this? ...

iPhone - Automate Appstore submission

Hi, Did anyone try scripting/Automating an Appstore app submission? It will be amazing if we can save all the necessary info in a plist or a server, Click on one button to generate and Upload the App to iTunes connect. This will be very useful if we have to develop template based Apps. Any expert opinions/comments/samples? ...

iphone Push unable to connect to gateway...

Hi all ! I'm trying to push my app not in developpement, and i get the following error : stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://gateway.push.apple.com:2195 To push i use : $serverId=1; $name="NameOfMyApp"; $apnsHost = 'gateway.push.apple.com'; $apnsPort = 2195; $apnsCert = 'ck.p...

Array is null after adding values

hi everyone. i parsing a XML file. when i adding values into array, the array still null, i don't know the reason. may be reason is that i using this array in two classes. there is .h files xmlparser.h #import <UIKit/UIKit.h> @class SightsTableViewController, Sight; @interface XMLParser : NSObject { NSMutableString *currentEle...

Do you really need to know C/C# to code in Objective-C (iPhone) ?

Do you really need to? I had no idea what C/C# was when I first started learning Objective-C, and I still don't feel comfortable with C/C#, but I am almost finished on my second iPhone App allready, without knowing C. I know that Objective-C is based on C/C# (deep down), but still. Do you think you really need to learn C/C# before lear...

Mac developer vs iPhone developer, the other way

Whats the difference between Mac Developer and iPhone Developer membership? Here we have a similar question: http://stackoverflow.com/questions/2635191/dc-mac-developer-vs-iphone-developer Now I ask the other way: if you sign up as an iPhone developer, what would you be missing from a Mac developer account? ...

Do I need the Private/Public key for App Distribution and Ad Hoc installs?

I'm working for a company that has already released an app on the store. So - they have already created a Distribution certificate. The person has left, and now I have to set up the Ad Hoc installs and Distribution for a new app. The iPhone Developer Program User Guide states: Saving your Private Key and Transferring to Other System...

How to update users regarding newer version of iPhone app?

Hi all, I am going to upload my app at app store, n will have to upload next version of app after some time, how i can update to users regarding newer version of app? should i implement push notification or apple will take care of this? ...

Determining maximum total image size capable of being loaded on iPhone-pad

Hi Right now I am loading a large number of images when the application launches. Is there an easy way to determine the maximum total size of images capable of being loaded on any given device? ...

xcode slow to install on simulator and device

To 'build and go' on the simulator takes about 30 seconds To 'build and go' on the device takes about 5 mins. I am 99% sure the reason is that I have lot of images (~4000 ~80mb). The build itself stage takes about 2 seconds, so the problem is the install. Does anyone have any tips to speed it up? The images do not need to be changed...

loading large number of images, jpeg or png?

Hi Apples documentation recommends to use pngs when loading images. But if you have a large number, isn't it possible to conserve memory by using jpegs instead? Or are they internally converted back to png after load so it makes no difference? ...