Hi
I am creating a UITextField programatically and placing it inside a UIView. The font size is set to 15.0f (system font). But the placeholder that appears is not centered in the text view. Any one know how to resolve this?
I found some references on SO for blurred text etc and tried setting the frame of the textfield with integer va...
Hi everyone,
I'm moving away from strict Android development and wanting to create iPhone applications. My understanding is that I can code the backend of iOS applications in C/C++ and also that I can use the NDK to include C/C++ code in Android apps. My question however is how? I've googled quite a bit and I can't find any clear and co...
Hi Guys,
I want to add a button to a bottom corner of the view after all the content is displayed. how can I add the image tag to loadHtmlString at the bottom right corner of the web view.
...
I have this userInputstring in the header that will be modified and used by multiple methods in the .m file
.h
NSString *userInputString;
-(void)main;
-(void)method1;
-(void)method2;
.m
-(void)main{
[self method1];
[self method2];
}
-(void)method1{
NSString *localString = @"something";
userIn...
I have been trying to drag a custom UITableViewCell between two UITableViews.
I found this post but I'm still only able to get things to drag within one view (the code here doesn't really seem to do anything.. but the guy claims it works):
http://stackoverflow.com/questions/3481858/tutorial-on-how-to-drag-and-drop-item-from-uitableview...
Hi There,
I am trying to have my app reload data when it is brought to the foreground via the applicationWillEnterForeground method. I can get the function to work and write to the NSLog, but I have a function that I want to be called from another class, how would I go about this?
I have tried below:
- (void)applicationWillEnterForeg...
Ok, here is the deal, I keep on getting this warning :
'AppDelegate' may not respond to '-setViewMovedUp:'
This is my implementation file :
- (IBAction)viewUp {
AppDelegate *moveUp = (AppDelegate *)[[UIApplication sharedApplication] delegate];
[moveUp setViewMovedUp:YES]; //move Shot View
[self setViewMovedUp:YES];
}
a...
is it possible to use - (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event;
in viewcontroller.m file? any tutorial pls?
...
Hi,guys
I apologize first ,because My English is no good. I will try my best to explain my problem.
I am building a photo app. You can choose images and move, rotate ,scale them. Finally, you can merge them to create a new image. I had no problem to display them on the screen, but when i wanted to merge them I encountered a problem.
...
I have been pulling my hair out one by one for 3 days now and still can't get the autoresizing on orientation changes to behave correctly :(
I will try to describe the whole context, hope I won't forget anything important, if so just ask !
I plan to support all orientations on my App (only for some of the views, not all).
So first thin...
Hi,
I've tried using the FileReader class but it only seems to allow access to files outside the app bundle -i.e. the documents folder. But I want to read files within the app bundle - for example obtaining global settings from Phonegap.plist, working out if certain files exist in the www folder and so on.
I have tried a few things but...
I currently have an NSMutableArray which stores a collection of Video objects.
Each Video object has an ID and TITLE.
I also have another NSMutableArray of video objects generated from parsing an XML API call.
When the user hits a 'synchronize' button, I want the system to be able to figure out the minimum number of operations needed ...
is there ny way to fix the time at which a sms or email will be send automatically from iphone sdk?
...
In order to scan my iPhone application for possible conflicts before submitting to AppStore, I downloaded Erica Sadum's APIKit utility at http://ericasadun.com/2009/12/apikit-goes-beta/
but running it resulted in:
$ ./apiscanner MyIPhoneApp.app
Expired beta
Does anybody know if there's another version I can use (couldn't find any at ...
I'm trying to instigate a page curl transition with a UIImageView in a Window. This code is in my main init method :
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:1.5];
[UIView setAnimationDelay:delay];
[UIView setAnimationBeginsFromCurrentState:YES];
[UIView setAnimationDidStopSelector:@selector(animCompleteHan...
I have used MPMoviePlayerController for playing video file.I want to get done button event but i dont know how to get can you help me for this questions
...
It is my fervent dream to have a UITableView with different row sizes, determined programmatically. I have read the UITableViewDataSource documentation, and I implement these methods:
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath;
- (NSInteger)tableView:(UITableView *)table numberOfRowsIn...
Hi I have an app that reads data from the accelerometer. However after the screen gets locked this not possible.
I have tried the following
-(void)startMonitoring{
UIApplication *thisApp = [UIApplication sharedApplication];
thisApp.idleTimerDisabled = YES;
....
....
}
-(void)stopMonitoring{
UIApplication *t...
How to show fixed string in UIPickerView ?
like kg, cm , mmHg....
look like this http://hazelnut.atnifty.com/iphone-app/bptwit ?
...
I currently have a Video object created via Core Data defined as:
Video .h
#import <CoreData/CoreData.h>
@interface Video : NSManagedObject
{
}
@property (nonatomic, retain) NSString * title;
@property (nonatomic, retain) NSString * urlImage;
@property (nonatomic, retain) NSString * description;
@property (nonatomic, retain) NSS...