hi..
I have a problem, In my app there is requirement that..I have 6 buttons in a nib,
when i press any button a new nib will be loaded into the window according to the button pressed. problem is after loading the new nib If I want to come back to the previous nib (which is having all the buttons) how to add navigation controller?
what...
I find that the View do not have a touch inside or similar event. So, I make a button on top on the view, and set it Alpha to 0, but after I set to Alpha 0, it cannot touch anymore. Any ideas on this?
...
Hello guys!
Declaration;)
MKMapView mapView;
I can't found the difference between mapView.userLocation.location.coordinate and mapView.userLocation.coordinate. Is there any?
...
I can use this method to show my location at first.
-(void)displayRegion:(double)latitudeDouble: (double)longitudeDouble{
CLLocationCoordinate2D coord = {latitude: latitudeDouble, longitude: longitudeDouble};
MKCoordinateSpan span = {latitudeDelta: .005, longitudeDelta: .005};
MKCoordinateRegion region = {coord, span};
...
Hi.
I have a UITable View with a textfield that is editable right on the view (like Phone in contacts, etc.). I want to enable/disable my save button conditional up text being present in this field. So, I want the button to start out as disabled (for a new record) and then, as soon as I type the first letter into my text field, I want t...
I want to use my iphone to set alter my wireless router settings, and I don't want to go through 192.168.1.1 - is there any security restrictions or SDK limitations I should be aware of starting off?
--
t
...
I wan to insert "title" and "description" into database using the following code but i am having problem in displaying the "title" into uitableview..instead of "title" it display the "description"...what could be the reason??am i inserting into the wrong column?i am sure i called the correct object.
-this is how i create my table...
CR...
Is there a way to manipulate movies in iphone in a way I can have, for example, the exact timecode in realtime of a movie being played? or the timecode of a movie being scrubbed?
And, btw, there's a way to scrub a video like the video edit mode of iPhone 3GS?
Can you guys pinpoint me a way to follow, if any?
thanks for any help.
...
Hi, I'm using some of the 3D effects in core animation and am noticing a very unpleasant flicker when some of my layers enter into positive territory on the zAxis (just around the point they go behind the "camera" i guess... is there anyway to resolve this?
...
Hey Guys ,
I wanted to make a basic custom keypad for the iPhone ,
I did manage to terminate the default iPhone keypad.
I have made simple Q W E R T Y and Spacebar keys ..
I want to input text as QWERTY with the buttons and then if I click and put the blinker(yes the UITextView is editable) before Q and try to append it the next string...
I have a table view with varying height, as defined in the heightForRowAtIndexPath. For some very odd reason, the image is "indented" to the right based on the height; if the height is low enough, the image is stuck to the left side of the cell, but as the height increases, the image for said cell is shifted rightward compared to other r...
Hi All,
Hope to get solution to this problem. I have been stuck on it since a long time now.
I have a a tableView which has custom labels drawn upon the cell using CGRect. I receive the data from a web service in arrays. Initially i display a line of data on the cells. When the user selects a cell, I call reloadsRowAtIndexPath to incre...
Hi all,
I'm new to iPhone dev, but trying to build a 2D game. I was following a book, but the game loop it created basically said:
function gameLoop
update()
render()
sleep(1/30th second)
gameLoop
The reasoning was that this would run at 30fps. However, this seemed a little mental, because if my frame took 1/30th seco...
So I have searched for this but not finding anything about it and if I missed it sorry about that. What I am trying to do is see how to go about adding some code to my iphone app that will connect to a php script (if connection available) and update a counter so that I can let my clients know that their app is constantly being used? Also...
Two questions:
this code
#ifdef __IPHONE_3_0
// iPhone 3.0 specific stuff
#else
// iPhone 2.2 specific stuff
#endif
compiles specific codes for specific versions of the iPhone. How could this be transformed to compile for a range of devices? For example: if iphone version < 3.1 or if version >= 3.2, and so one...
2) where do...
Hi..
I have a requirement to use date picker in my applicaiton.
I have lot of controlles in my view that..i cannot add the date picker with the default size.
Can anyone please suggest me that how can I reduce the size of the picker?
i tried it with Ib, but size option is disabled in IB?
...
I want to design a view/view controler that automaticaly shows/hides a subview when in landscape orientation. I want the subview to dissapear completely and other subviews to take up its space.
Using a UIViewController, I wrote code that sets the subviews' frame property and call it on:
- (void)willAnimateRotationToInterfaceOrientation...
I wish to do some custom animation using core animation but am having the (no doubt) classic problem of animations resetting when they have completed.
Of course this can be stopped by using:
[animation setFillMode:kCAFillModeForwards];
[animation setRemovedOnCompletion: YES];
However, I am then left with a layer that won't respond to...
Hey everyone,
I'm trying to present a modal view controller after selecting a contact and it doesnt seem to be working.
In my -
(BOOL)peoplePickerNavigationController:(ABPeoplePickerNavigationController *)peoplePicker shouldContinueAfterSelectingPerson:(ABRecordRef)person
method, I dismiss peoplePicker, create an instance of my new...
I'm having an intermittent problem when I move a UIImageView around the screen using CAKeyframeAnimation. I want the position of the UIImageView to remain where the animation ends when it is done. This bug only happens for certain start and end points. When I use random points it works correctly most of the time, but about 5-15% of the t...