Hi guys, I am making some iPhone graph thingy. Here is my problem. I have one view controller and inside it two views graphView and segmented control view. I first draw graph view, than segmented control one. I want to have the functionality that when I click on some of the segmented control's buttons, I reload data and draw new graph....
Hello,
Can you please tell me to which parameters the UITextView is dependent to avoid automatic text scrolling vertically up.
I have put the UITextView on UIView by setting below parameters,
mAddText.autoresizingMask = UIViewAutoresizingFlexibleHeight;
mAddText.directionalLockEnabled = YES;
mAddText.showsHorizontalScrollIndicator ...
hai , i use accelerometer to rotate uiimageview through device orientation like UIInterfaceOrientationLandscapeRight,etc. if i dont use device orientation,(if i put iphone on the table , accelerometer must work in particular angle.The device is in UIInterfaceOrientationPortrait)how can i do it? i rotate the image through center of that ...
The provisioning assistant in Program Portal doesn't allow me to add dot for App ID(like com.company.app). I can only add App ID with com.company.appname in Program Portal without assistant. But that App ID doesn't show up in assistant, what's the problem?
...
So I've read most of the Jeff LaMarche book, and I still can't seem to understand this...
How do I persist data between various views? For instance, with a standard 'Utility Application' template, I want to be able to share variables between the frontside and the flipside... How to do?
(I also want to write those variables to disk so t...
Hi there,
I have a tabBarController with two tabs, first of which contains an instance of NavigatorController. The navigatorController is initiated with a custom viewController "peersViewController" that list all the network peers on a tableView. Upon selecting a peer, an instance of "FilesListViewController" (which list files in th...
Is there any way of simulating limited or no 3G / Wifi / EDGE connectivity when using the iPhone simulator?
...
How do I rotate an image in iPhone programming?
...
I have a view for an inbox. In the view I can currently show 10 sms messages. After 10 sms messages, I need to be able to scroll the messages.
In other words, how do I implement a scrolview in iPhone programming like the one in the mail inbox or the SMS application?
...
Hi, I am currently developing applications on the 2.2.1 sdk, and considering to upgrading my iphone to sdk 3.0. Can my phone still be used to run old version programs (2.1, 2.2 etc), call, send sms and so on? Or will it be restricted to only be used to test 3.0 developed programs?
Thanks, Hans Espen
...
When I look at the console while my iphone app is shutting down, it appears as though my encodewithcoder is being called twice. Even though I only encode an array of 'NewsItems' once.
Is this normal?
(void)encodeWithCoder:(NSCoder *)encoder {
NSLog(@"News encode called %@", self.title);
[encoder encodeObject:self.newsItemI...
I am trying to set up a Modal View Controller, that that lies below a fixed toolbar. therefore the toolbar is supposed to stay on top while the modal view rolls in.
the Safari-App does that for example, when hitting the bookmarks-button. the toolbar stays, the buttons change..
I tried a couple of things like pushing the toolbar to the ...
Hi,
I have 6 images, all the same size (65x65). When I create an imageview and add this image through the "image view attributes" in the interface builder, the picture is very small. Maybe 5x5. The pictures also show up small when viewing them in the resource folder however, when running the program, they are the right size. Is there so...
My setup is a UIScrollView in the center of the screen (on the iPhone - like 300x400 positioned in the center) that contains a UIView of the same width, so it scrolls it vertically. In this UIView i draw custom subviews with labels etc (it's a scoreboard with various colors).
What i'd like to have is some shadow below my UIScrollView, s...
We are developing a web application that should be accessible from a mobile phone.
It involves a simple text-only tree catalog.
To avoid extra round-trips to the server to expand the tree items as you click on them, I decided to use WML.
It allows preloading multiple <card>'s in one document and fast browsing between these <card>'s.
...
Hello friends This is my code
NSURL *url=[NSURL URLWithString:@"http://www.engadget.com"];
NSString *webPage=[[NSString alloc]initWithContentsOfURL:url
encoding:NSUTF8StringEncoding error:nil];
In the webPage string i got an html page of the link... In that string there is lot of tags and text... I want to ...
In the clock app that comes with the iPhone there is a tab view for setting alarms. In that view each of the UITableViewCell instances have a drop shadow around them. Does anyone know how to achieve the same effect?
Also it looks like the tab bar at the very bottom has a drop shadow above it as well.
Ideas on how to achieve the same l...
I have an iphone app, with a view (well multiple but let's say one at a time). The view is very simple just some text-fields and images on there. I have set the auto-resizing attributes for those controls so that they know that they need to be centered no matter what the orientation is. There is no code that moves them or anything, every...
I have written a UITabBarController subclass (called MainViewController) and added a few instance variables, specifically a venue of type Venue. Each tab of the MainViewController needs to access the venue variable of the MainViewController. In the first tab, a UIViewController subclass named HomeViewController, I wrote my viewDidLoad me...
What JavaScript Mobile development tool would you use based on momentum, existing documentation and functionality, and ability to get passed the App Stores strict policies?
...