Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Apr 1, 2009, 02:08 AM   #1
rupesh.swami
macrumors newbie
 
Join Date: Mar 2009
Change Location of Scrollview

hi all
i am new to iPhone
i want to change the location of scrollvew. what is the step behind the change the location of scrollview. i use following statement
scrollViewObject.frame.top=10; or scrollViewObject.frame.y=10;
but above statement give compile time error "CGRect has no member named top/y"
rupesh.swami is offline   0 Reply With Quote
Old Apr 1, 2009, 02:36 AM   #2
dejo
Moderator
 
dejo's Avatar
 
Join Date: Sep 2004
Location: The Centennial State
frame is a CGRect:
http://developer.apple.com/iphone/li...c/c_ref/CGRect
__________________
dejo is online now   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Change iPhone backup location? 7enderbender OS X Mavericks (10.9) 0 Jan 17, 2014 05:58 PM
Using the Significant-Change Location Service BobRon iPhone/iPad Programming 1 Aug 24, 2013 07:24 PM
Change/Edit Location Ides OS X 10.8 Mountain Lion 7 Jul 5, 2013 03:22 PM
How to change the location of ML notifications Benjamin, OS X 10.8 Mountain Lion 0 Jan 16, 2013 06:35 PM
Change trending location? Okaaay Mac Applications and Mac App Store 0 Nov 12, 2012 05:51 PM

Forum Jump

All times are GMT -5. The time now is 03:06 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC