iphone

is it possible to load a favorites table cell that contains multiple user selected entries instead of a tabbar

hello i am trying to add a favorites table cell that loads multiple table cells (which then lead to a detailview) that have been selected by the user. is this even possible? i am wondering if and how it would be possible to save entries to an array that would load when a table cell is selected. thanks ...

UILabel question

Is this possible to achieve something like that on iOS simply using UILabel + UIView ? I've tried using a UIWebView but it's too slow to be used in a UITableView. ...

Accelerometer in a iOS Safari/WebApp in iPhone and iPad

I have found a way of finding out the orientation of the device (portrait, landscape left, landscape right, upside down) via the listener <body onorientationchange="updateOrientation();"> and in the header function updateOrientation() { switch(window.orientation) { case 0: // normal ...

Download a file to iPhone

Hy Everybody, I hope enyone cann explain me how I can save an file on the iPhone I get the file with NSURL so fare no prob. I'd like to donload the file and work with the donloaded file. But I have no Idea how. ...

What is the cleanest and best way to switch views?

I've seen a lot of posts and videos on switching views and many of them have vastly different approaches. Some swap the entire view (via a delegate class), some use presentModalViewController:animated:, etc. So I ask: what is the best, cleanest, and most memory-friendly way to switch views? (I use view switching as a way to show complet...

AppStore approval of a free application with paid content

Hello, We have developed an application that allows a user to download audio content. The use of application itself is free, but we charge for the content. In our current business model, we accept payments using premium-rated SMS (which increases the in-app user's balance), however, Apple rejects the app since they do not allow this mod...

How to record a video automatically in Iphone app without user interaction

I am working an iphone app that needs to record a vedio automatically. I used mobile coreservices framework and using that. I made it to came into video mode and clicking on record option its start capturing a vedio. But I want it automatically that is.. I should able to record a video without clicking on record option. That is when vi...

How can I access the inbuilt (possibly predictive) dictionary of an iPhone/iPod

Hello, I'm writing an app that has it's own text input, overriding the usual keyboard. I want to include some kind of word completition. It would, for obvious reasons, be best, if I wouldn't have to supply my own dictionary, but instead could use the one already in place. Does anyone know how to access this dictionary? Is it even possi...

UITableView: scrolling programmatically the content view

Hi i'm trying to forward the touches I receive from an UIView which is in front of an UITableView. But doins so I can't make the table scroll anymore (see here). So now I'm trying to make tha tableview scroll programmatically and I am looking at setContentOffset:animated: and scrollRectToVisible:animated: with having success only with t...

Connect iPhone/iPad with Mac (the Apple way)

Hello, When Apple's Remote app tries to connect to a Mac (running iTunes) on a local network (using WiFi), the user needs to enter a passcode provided by the iPhone as a security measure. This approach has been adopted by a number of other apps (e.g., Rowmote, Pastebot, ...). Is there an API that provides this way of working? Assuming ...

Text Engraving effect in UILabel

How can we bring the Engraved effect of a UILabel's Text? I wanted the effect as provided in the snapshot I have provided. I could not add the image, so I have added the Link where I have hosted it. Image ...

iPhone OS 4.0.x - blocking I/O operations in background

I'm currently implementing some logic for reading from TCP socket in the background mode. CFReadStreamRead function is being used to fetch some data from socket and for now everything works fine. But I'm wondering how iPhone OS 4.x treats blocking I/O operations in the background mode. For example: CFReadStreamRead function may block f...

contentsize and contentOffset equivalent in NSScroll view

I am porting an app from Ipad to mac. (I know that it sounds weird) I stuck with NSScrollview. Please guide me contentsize , contentOffset equivalent in NSScrollview. ...

iPhone HTML question - access to body only

Hi, I'm trying to get an HTML page to render correctly on mobile devices - mainly the iPhone and Android. The page is a 448x278 image with a few lines of text below it, all centered. When someone visits the page, I want it to zoom correctly in the device's browser so that it fills the device's screen (as opposed to being fully zoomed-ou...

Contents of UIScrollView gets re-rendered when a UITableView in a UIPopoverController is scrolled

The title pretty much sums it up, but what's happening is that I have a UIPopeverController popping up and presenting a UITableView from a toolbar button. Underneath the popover I have a large UIScrollView with several PDF pages being rendered into CATiledLayers using Quartz. Whenever I try to scroll in the popover (the UITableView real...

Where can I find an iPhone address book with sample data ?

I'm developing an application that get access to the iPhone address book. The simulator contains only a few sample entries. I'd like to find a sample address book with thousands of entries with various character set (English, Chinese, Arabic, etc) to fully test my app. Filling the address book myself will take for ever. Basically I need...

Merge 2 SMS databases (sms.db) from 1 iPhone 3GS running on iOS 4.0.1 and putting the output file back on the iPhone without the SMS App crashing

First of all, I've never really done any heavy programming, just fooling around a bit with Python. If any of my questions sound odd or so, please try to understand me. I have a following problem: My iPhone 3GS running on iOS 4.0.1 had problems with making outgoing calls. The only way to solve this problem was to restore iPhone to its f...

Comunication between iOS Application and .NET Application?

I have 2 application, one is iOS app and one is .NET app. I want my iOS app send an message (call a method of .NET app, send some string to .NET app to save to database). So, how can my iOS app can comunicate with .NET app? Anybody can help me. Thanks :) ...

AddressBook: trying to add 'Home' and 'Work' addresses, only 1 shows up.

I'm trying to add a 'Home' and 'Work' address my Person record. It seems only 1 shows up (the one added later. Is if possible to add multiple addresses to a Person and see them displayed in the UnknownPersonViewController? If so, how should I do this? Here's my code: void multiValueAddDictionaryValueAndLabel(ABMultiValueRef multi, CFDi...

how to use two navigation controller in same page for iPhone Application

hello I have been used no. of page in my app. and i am pushing one from other.All data are are coming from from server.In every page one part of page is fixed at start while pushing remaing part of page is pushed . This is working fine. even i have used back button all things are doing fine But the problem arises when i reached to last...