iphone

Problems sending HTML mail with attachment on iPhone

I'm trying to send a JPG attachment with a formatted HTML message. Of course I'm using [picker setMessageBody:emailBody isHTML:YES]; The rest of the code is what it is supposed to be, according to various messages on forums. What I observe: the contents of the resulting e-mail message depends on the configured e-mail account on your iPh...

Whats the best way to implement a custom Calendar on the iPhone

I want to create a calendar that will allow for events to be created and deleted within an iphone app. Can someone recommend a way to accomplish this and possibly mention existing apps that use this feature ...

large scrollable "something" with TTStyledText in it

Hi, im searching for a solution of the following problem: i got a "larger" XHTML string that i want to display in an area that is scrollable. I already used TTStyledTextLabel for a small text-caption and it works pretty well. But now i want display it more like a UITextView that scrolls or a UIScrollView with my TTStyled Content in it...

Where does the iPhone Simulator store the installed applications?

I want to have a look at the app directory from the iPhone Simulator, so that I can see what kind of files it is creating when I use my app and what stuff is in these files (i.e. when it creates the sqlite file for Core Data and stuff like that). ...

CFHost DNS Resolution - When is it OK to use synchronous API?

I went to the iPhone Developer Tech Talk a few months ago and asked one of the gurus there about the lack of NSHost on the iPhone. Some code I was porting to the iPhone made significant use of NSHost throughout its networking code. I was told that NSHost is on the iPhone, but its private. I was also told that NSHost is a synchronous API...

how do i update files on an cached iphone web app with cache.manifest

hello, i have an iphone web app wich uses a cache.manifest file to successfully cache files. the problem starts when i want to update the app while it uses the old files because of the cache. how do i make the cache.manifest file to update the new files correctly? can i define a version or something? thanks! ...

How to display info for a row on clicking a button inside a UITableViewCell

Hi I have been trying to show an information label for a row when clicking a button inside a UITableViewCell. But I am unable to get the coordinates of the cell when the table is scrolled. Can anyone please help? ...

Loading the last viewed UIViewController when an app quits

Is there any in-built technique for moving straight to the last UIViewController shown before quiting your app? I'm trying to figure out if there are any inbuilt ways of doing this with the UIKit framework /Cocoa Touch. If not I realise it will be fairly trivial to implement, but I don't want to do this if something already exists. For...

Make a ViewController scrollable?

Hi, i was wondering how to make a ViewController (or TTViewController) scrollable, e.g. for long pages? My first try (make the frame bigger) doesnt work. CGRect appFrame = [UIScreen mainScreen].applicationFrame; CGRect frame = CGRectMake(0, 0, appFrame.size.width, appFrame.size.height + 200); self.view = [[[UIView alloc] initWithFrame...

Breakline in UIButton title

Hello people, in the following button is an address showed. My problem is the addresses are very long and how can i get between the two variables in the title of the button an breakline?? NSString *sitz = map.kordinate.herkunft; NSString *strasse = map.kordinate.strasse; NSString *strasseMitKomma = [strasse stringByAppendingString:@","]...

iPhone Objective-C Simplest Way to get a stock quote

Hi guys Im wondering what is the simplest way to get the current price of a stock from say yahoo finance (or similar) in objective-C For the iPhone SDK. Simple is the key, I am looking for current price, and days movement. I havent had much luck finding an iPhone code example or library. regards ...

iphone sdk: playing video from localhost?

Hi guys, I have a server socket (on port 3490) in my app which has a video data - It runs on a different thread. Now I have a mpmovieplayercontroller and would like to read the data from the socket and play it. I'm not sure what url should I pass to it. I've tried file://localhost:3490 http://localhost:3490 but this doesn't work. Pleas...

iphone movie player overlay view problem

can anyone tell me how to add overlay view without using IB to streaming video.. I tried a lot and overlay view is not working. plz help .its urgent ...

UITableView slow, even with just a few objects?

- (void)viewDidLoad { [super viewDidLoad]; [self.tableView setRowHeight:100]; [self.tableView setSeparatorStyle:UITableViewCellSeparatorStyleNone]; [self.view setBackgroundColor:[UIColor groupTableViewBackgroundColor]]; } #pragma mark - #pragma mark Table view data source // Customize the number of sections in the tabl...

bluetooth printer library for iphone

Is there any library available for IPhone (both paid/free/open source) which gives printing support over bluetooth for most common printers. ...

The binary you uploaded was invalid. The signature was invalid, or it was not signed with an Apple submission certificate

The binary you uploaded was invalid. The signature was invalid, or it was not signed with an Apple submission certificate getting this error message.. since 2 dayz.. tried all googling.. its still there ...

How to avoid the auto-correction is drawn behind the keyboard.

When the cursor is just above the keyboard, auto-correction is drawn behind the keyboard. It seems fixed in OS 3.0 but I want to avoid the behavior by own code because want to build on the version 2.0. [textView scrollRectToVisible:CGRectMake(0, textView.contentSize.height + 14, 1, 1) animated:YES]; Above code can handle some of situ...

NavigationItem setTitle doesn't work for second level UIViewController

Hello, in my app i have an UITabBarController with UINavigationControllers initialized like this UINavigationController *newsNavigationController = [[UINavigationController alloc] initWithRootViewController: newsViewControler]; newsViewController is an UIViewController. When i press the button in the tabbar to show the navigation ite...

How to truncate an NSString based on the graphical width?

In UILabel there's functionality to truncate labels using different truncation techniques (UILineBreakMode). In NSString UIKit Additions there is a similar functionality for drawing strings. However, I found no way to access the actual truncated string. Is there any other way to get a truncated string based on the (graphical) width for ...

How to count words within a text string?

Developing an iPhone app which is a kind of notepad. How can I count words within a specific text string? ...