iphone

How do you accurately count sent/received bytes programmatically in an iPhone App?

I'm writing an iPhone App that might potentially send/receive a lot of data over time, depending on polling intervals. I would like to display the amount of sent/received bytes on runtime, and maybe alert the user when reaching a user-specified threshold. Any tips on how to track the amount of sent/received bytes within my app? (I'm onl...

Tip rather than question: Pseudo-Push functionality through pushed email

I was just wondering if anybody was using this technique: Since Push Notifications will only be coming with OS 3.0, I've been thinking of using Email Pushs (Exchange, mobile.me) as a workaround: You can register a URL, eg. myxyappname:// for your own app in iPhone. (See examples @ developer.apple.com/iphone) If you have a server and w...

Hiding UITabBar when pushing a UIView

I have a UITabBarController where the default view controller is a UINavigationController. I want to be able to hide the UITabBar of the UITabBarController when I push a certain view in the UINavigationController. I've tried adding: delegate.tabBarController.hidesBottomBarWhenPushed = YES; in my UINavigationController before I push t...

Photo Library view stays on screen after choosing an image with UIImagePickerController

After I choose a picture through the UIImagePickerController interface from the Photo Library, the Photo Library view stays displayed, even though I've called dismissModelViewControllerAnimated in imagePickerController:didFinishPickingImage:editingInfo. Has anyone seen this? These are the three relevant methods I'm using: - (IBAction)c...

iPhone Uploading unique images to a server running PHP / MYSQL

Hi All, I'm working on an iPhone app that will upload images to a web server. I was wondering if anyone had any tips on how to generate unique names for each image file that gets uploaded. I'm sure there are a million ways to do this, but if anyone has any suggestions I'd really appreciate it! Thanks. ...

Can I develop iPhone applications using C#.NET on Vista?

I’m interested in developing an iPhone application using Visual Studio and C#.NET on Windows Vista. I tried to download the SDK from http://developer.apple.com/iphone/index.action, but the file has a .dmg extension and I don’t know how to open that file. So can I as .NET developer work and develop against iPhone APIs? And are there an...

Play 1 sound clip after another without any interruption in iPhone !

Hi, I am developing a simple iPhone sound app. How can I play 1 sound clip after another without any interruption ? ...

How to work with pixel modifications

I am working on an i phone game. In that I have to create texture from a Quartz Image Source. Then i want to do some pixel modifications. I am a beginner with openGl. please guide me with the steps that should be followed ...

iPhone UIDatePicker style

is there any way/trick to change the size, font, background color etc. of a uiDatePicker?? even the backgroundcolor attribute does not work and the default style of the picker is sooo irrelevant with the design of my application :( ...

How to set view outlet using tab bar controller in iPhone SDK

I created a simple tab bar application in Xcode. The default tab bar has 2 tab bar items. I add a third tab bar item and set its view controller attribute to a view i had created and subsequently saved called ThirdView.xib. When I try to run, the first two default tabs work fine. The third one I added throws this error: *** T...

How to record something other than Linear PCM on iPhone...

Hi, I'm having a hard time trying to record something other than linear PCM on the iPhone :-( The samples I've found (SDK's SpeakHere, Zdziarski's and Sadun's books and the one at trailsinthesand.com) all use linear PCM but I'd like a commonly used compressed format instead (no ima4 or whatever the name is...). I just cannot figure out...

How to zoom image in iPhone?

I need to zoom an image in iphone...while the user double clicks on the image it will be zoomed in and on the next click it will be zoomed out....Can anybody direct me to how to do this??? ...

Does ImagePicker API in iPhone OS 3.0 now include geo-tagging?

I'm looking at the ImagePicker API spec for iPhone OS 3.0 and don't see any reference to location being integrated into photo. I know that with OS 2.x photos taken through ImagePicker would not include location data. However I am wondering if anyone can confirm whether geo-tagging is indeed lacking in the new ImagePicker API as well. ...

How can I programmatically get the MAC address of an iphone

Does anyone know how to programmatically get an iPhone's MAC address and IP address? ...

iphone sdk: set focus to different tabbar view on button click from first tabbar item

How can I set focus to different tabbar view on button click from first tabbar item? Thanks ...

One user can't run app

I have one user that can't run my iPhone app. It starts up fine but crashes once they select a row in the RootViewController. Selecting a row goes to another tableview. I'm using sqlite in the app bundle and deploy on initial install if no db is available. The db is there because the RootViewController wouldn't load otherwise. I've ...

iphone SDK: socket client... how do I handle the receive data delegate across different views/classes?

I am writing a controller for an audio server on the iPhone. Each 'view' generally needs to get data from the TCP/IP socket as a client. I have sockets working from one class using the AsyncSocket class. (which, after trying to get a socket client working for more time than I'd like to admit, is a very impressive and helpful class).. ...

Get current location using Wi-Fi?

How to get current location using Wi-Fi towers in iPhone without using GPS? Actually I have an old iPhone which does not contain any GPS. So I want to find my current location using Wi-Fi or by using any other method. ...

How can I get the MCC and MNC on an iPhone

As per the subject - is there an API to get the MCC/MNC on iPhone OS 2.1 or above? ...

Best way to have a view temporarily expand to fill the iPhone screen

I have a library that programmatically constructs a UIView that exhibits my custom behavior. This library could be dropped into many different applications at different places in the view hierarchy. Under certain circumstances the view needs to "expand" to fill the screen real estate. I am currently doing this by having my code walk t...