I wish to make a lever and rotate the lever using accelerometer. I have this problem trying to place the ball on top of the lever and slide the ball along the lever according to the rotation. Would anyone drop me some hints or refer me to sample codes?
...
i was searching on the net for a method which can inform an incoming message on receivers phone.
but everyone said it is not possible
but there is an app. which is approved from apple
here is the url
http://itunes.apple.com/us/app/tigertext/id355832697?mt=8
if i am not wrong this is doing similar kind of work...(i.e. accessing incomi...
self.searchbarRect = self.searchDisplayController.searchBar.frame;
self.searchDisplayController.searchBar.frame=CGRectZero;
self.searchDisplayController.searchBar.hidden = YES;
I use this code to hide the searchbar on a tableview. The problem is that when I show the searchbar again, it overlaps with the first cell of the table.
self.s...
This is the tableView, as you can see, which cell, have two part, the left one, is a leftUIView, and right one, is the rightUIView. The red and green color can display, but the rightLabel I create can't show successfully. What's wrong with my code? Thank you.
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath...
Hi,
Am trying to find a Content Management System that I can use to produce and store content - text, images, pdfs, etc and then access this content from an iPhone using a native application via a web service.
Can anyone recommand a good CMS for this?
Thanks in advance,
Will
...
hi. im making an application that store multipe information like name description images for each entity. ( large number of entity). I have an issue in storing images in for this application. whats the best way to store them. database or document directory. and also im affraid that the images will increase the size of my application. wai...
How to control the position of "input select box" when input character chinese?
...
Hello,
My app is crashing when testing on the device, but not on the simulator. It happens when I go to log out. I'm deleting all records from core data when the user logs out, code as follows:
-(IBAction)logOut
{
UIAlertView *getConfirmation = [[UIAlertView alloc] initWithTitle:@"Confirm" message:@"Are you sure you want to logout...
I want to have something happen about 6 times a second, consistently and accurately. I tried setting an NSTimer, but it had very low accuracy and consistency. What would you recommend?
...
Hi,
I'm facing very strange problem - my app is working nice on a device when build with Debug configuration, but when it's build for AdHoc distribution, it does nothing when started. It simply shows blank screen, no log messages on console, no errors nothing, so I don't have a clue of what's going on, what makes me desperate.
I examin...
Hello
I am hopeless, I´m trying do a View in Objetive - C.
I built the view, in Interface Builder with: View -> Scrool View -> Imagen View, two labels and a TextView.
I have a funtion: -(void)Configurar:(NSDictionary*)Configuraciones
This function set the position of components, the content text, the image, the size of the scroll v...
This is driving me bonkers, have been on it ages and still can get the thing to do what I want!
My view is set out like this:
RootViewController contains (UIView)flipView
FlipView contains (UiView)firstView
FirstView contains a scrollview and a load of imageviews
Scrollview contains a series of custom imageViews
I can drag the cust...
http://stackoverflow.com/questions/825826/are-there-any-third-party-libraries-to-do-cool-view-transitions-in-iphone-os
I have viewed above animation types and there's none...
(I'm sorry for my broken English)
...
Is there a Objective-c function to return a NSString * from a NSUInteger, i.e.:
1 -> 1st
2 -> 2nd
...
10 -> 10th
21 -> 21st
...
31 -> 31st
for the range from 1 to 31. Thanks!
...
I have come across a strange behavior...
In class A, at the viewDidLoad method I do:
b = [[B alloc] initWithNibName:@"B" bundle:nil]; //init the B class (declared as B* b)
[b setText:@"ABCDDEEE"]; //change the text of a UITextView in b
note that b's view is not shown until a button is pressed. However, when I press it and go to b's v...
This is an example straight from Apple's documentation -
@implementation MyClass
- (id)initWithString:(NSString *)aName
{
self = [super init];
if (self) {
name = [aName copy];
}
return self;
}
+ (MyClass *)createMyClassWithString: (NSString *)aName
{
return [[[self alloc] initWithString:aName] autorelease];...
I get an 'Accessing unknown 'view' component of a property' error, when I'm trying this:
if (self.newsViewController.view.superview == nil)
I have a synthesize and an import for NewsViewController. What I'm doing wrong?
...
I am developing an GPS based app. So I was wondering how could I simulate location on iphone simulator?
I downloaded an sample app locateMe. This app does not work on simulator. Does simulator not support location api?
Any help would be appreciated.
...
HI there.
I've tryed to develop a little magazine reader for IPAD
I use a subClass of CAtiledLAyer whit drawInContex Method and I draw the pdf pages into a scrollView.
So i've 2 problem,
1-when i try the app whit simulator all work fine but when i try the app on ipad the layer drawing it's slow ,
2-the memory usage allways increases a...
Hello everybody,
Today my question is about Core Animation. Is the information related to direction and speed of an object (UIView/layer), moving (animated) on the screen, stored anywhere and directly accessible via method/property? Is this information available even in case of an object dragged by the user?
Thank you.
...