« first day (1230 days earlier)      last day (2753 days later) » 

09:00
I just needed info about the company
why do you care ?
like hows it
he's looking for a job
I ll be graduating in 2 years
not sure, its my 2nd or 3rd week here
09:00
okk
@Mayur but i think if autolayout is enabled, storyboard will automatically add constraints even if you dont add
no its disabled
ok, change in viewDidLayoutSubviews probably
i tried using dispatch
ok trying that
same issue
when i scroll down-up the scroll view it gets new frame that i have set
@Shubhank
shwo your code
09:06
override func viewDidLayoutSubviews(){
    self.btnThumbnail.frame = (frame: CGRectMake(0, 0, self.result.width, 278))
}
you should call super implementation first
what ?
super.viewDidLayoutSubviews
ohh placed that
no success
should work
09:11
this is original frame
AOA, Hi @all
i told you this is weird issue. it took 2 hours me to solve & still no luck so i asked you @Shubhank
2 hours to solve ?
that's not enough time
09:14
 +---+
 |   |
 |
 |
 |
_+_
s - - -
 +---+
 |   |
 |   O
 |
 |
_+_
s - - -
 +---+
 |   |
 |   O
 |
 |
_+_
s i - i
no way 2 hours?
09:14
@Shubhank i mean 2 hours of effort & still incomplete
;)
is it solved?
 +---+
 |   |
 |   O
 |
 |
_+_
s i r i
Success. According to Lara.. 'You should get back to work'
@BoominadhaPrakashM stop playing hangman for a while pl
@Shubhank if you see what i needs to achieve just a change height so 2 hours are more than enough for it, its too much
09:15
let him play
i am bored :p
lol
so any success mayur?
@Mayur yup 2 hours is enough, you should have probably found a alternative till now
why not move the scrollview yourself programatically :p
that is a good hack
mayur pl add an image inside imageview
add background color to scrollview
its already in imageview
actually i can't change any thing in scrollview code
On Scroll dragging the height of imageview gets larger
@Mayur why not try by invalidating view hierarchy after frame change, so that frames of subviews will be set again? Invalidate your main scrollview
09:19
how ?
parallex effect?
like that ?
    mainScroll.invalidateIntrinsicContentSize()
no autolayout being used
layoutIfNeeded?
09:20
i would say just do scrollview.contentOffset.y++ :p
or setneedsdisplay. please check. I dont remember exact
i tried that all one by one
@Shubhank akh thooo wali DP.
hurr
meaty boyy - torchure game :D
09:22
is he trying to add parallax effect?
i can't explain how much experipents i had done within 2 hours before lunch :)

But after lunch i got brilliant idea to come here & discuss with geniouses :)
24 mins ago, by Mayur
I have UIImageview inside Scrollview in storyboard
Here is structure:
UIViewController > View > Scrollview > Scrollview > UIImageview

Now i am trying to change the height of that imageview programatically from viewWillAppear method but not success

Note : If i scroll down-up the scroll view it gets new frame.
Saad ^
yes please check @Lara this subhank posted my issue
so now its 2.30 hr
:)
+ 20 mins of @Shubhank
+ 5-5 mins of @Lara @SaadChaudhry
09:24
haha
lol, Are you paying to them
HJ is here too
eat his brain :P
no man
yes
09:24
I am not, my bot is using my name
@HimanshuJoshi
welcome to the party
@Mayur Don't ping me! :(
I am a bot
bhai if you'll increase the height
09:25
It became a hot topic of 1st August
@Mayur welcome to the chat. Have a good day :). Please make sure to go through the room F.A.Q.
mayur why dont you post Q on SO?
it will fuck the image inside the imageview
3
lol
do you let your mother hear you talk with that mouth?
@SaadChaudhry i am changing Height as per the width calculations
09:26
/joy
i am making sure that it doesn't gets distorted
bhai again are you trying to add parallax effect?
@SaadChaudhry sorry didnt get you
parallax effect?
google kerle re baba google kerle ooooo google kerle re baba google kerle
09:28
@Lara i am thinking its very small issue if i will post some one will vote for close it
if you explain clearly, no one will.
ok lets do
grrrrrrr
is it that big issue?
@SaadChaudhry not i am not trying to add that
ok what you want to do is to show an imageview always you scroll the scrollview on top?
09:31
no
see let me explain again
i have this kind of structure in storyboard:
UIViewController > View > Scrollview > Scrollview > UIImageview

By Default image height : 320x200

Now i need to change height of that imageview Programmatically

for ex: I need to set frame : 320x280
@SaadChaudhry
change its frame
remove the spring and struts
just bind it from top
where is @AseedUsmani
I tried to change frame @SaadChaudhry
09:37
bhai i bet it will change :P
but how ?
remove the spring and struts
just bind it from top
can you explain this ?
dude when you are setting the frame programmatically you dn need any spring struts
you only need x,y,width,height
yes right
but what is spring struts ?
i am just simply setting up frame
is it ok to say "please see my attached cv"
wana be my chamak challo oo o wana be my chamak chalo oo o! oo o! oo o!
09:41
choo choo
nothing, just set the frame am sure it will be changing, add a background color
ok
you should put: "I demand that you devote the next hour to studying my attached cv"
or place something else to check
or take a screenshot and open it in preview and calculate height from it :P
@MichaelDautermann it that for my question
09:44
its not ok to randomly join a chatroom and start asking question
I do it on my cover letters
any cordova app group
?
Diva knows
hi may i ask a english tip?
09:45
much better :p
@SaadChaudhry i tried that but same problem arrives:
IT took old frame as it was set on story board

Now if i scroll down & up the scrollview it takes new frame
@Shubhank tnx for the link.every one is gray
May I revoke your access :D
@Diva can u pls help me in cordova failed to import prj after creation
in AS
09:48
they will wake up soon.
yes go ahead
@Erum import in android?
@SaadChaudhry for whom ?
its an open statement ;)
09:51
hahahaa
hahahaahaa
amira is watching book
yes i m trying to import in AS but before this i run cordova build android .... in project path folder but its not successfully execute the command .... here is the error in terminal gist.github.com/anonymous/8f35223cf6b18124fecde2b7fe56bdd7 @Diva
Hey Erum
You're the boss and from you, we learn
You're the boss and from you, we learn
We stay quiet in your presence... We can't talk
We stay quiet in your presence... We can't talk
And whoever leaves you doesn't understand, he'll regret one day
And whoever leaves you doesn't understand, he'll regret one day
@Shubhank
why is everything twice :p
09:57
bitch it's not for you :D
it's translation of Maeleem :P
0
Q: Change imageview height programmatically ios

MayurI have this kind of structure in storyboard: UIViewController > View > Scrollview > Scrollview > UIImageview By Default imageview size is : 320x230. Check below image: Now i need to change size of that imageview Programmatically. Lets say i need to set frame : 320x280 Autolayout is disabl...

dish is ready
:)
@SaadChaudhry @Shubhank
lets listen

« first day (1230 days earlier)      last day (2753 days later) »