« first day (1364 days earlier)      last day (1654 days later) » 

7:47 AM
Hi All, I have a doubt, I am drying yo pop viewcontroller from navigation controller with delegate
like this
here delegate works but pop viewcontroller is not working
anyone please help me
 
 
2 hours later…
9:40 AM
for pop viewcontroller why you need navigation controller with delegate
if you did push viewcontroller, obviously pop viewcontroller will work
But if you did present viewcontroller, then pop viewcontroller will not work
push viewcontroller <-> pop viewcontroller
present viewcontroller <-> dismiss viewcontroller
 
9:54 AM
@BoominadhaPrakashM I have pused the viewcontroller
without below line it works
delegate?.postClosed(item: postItem, idx: selIdx, postTyp:0)
delegate?.postClosed(item: postItem, idx: selIdx, postTyp:0)
self.navigationController?.popViewController(animated: true)
@BoominadhaPrakashM I am getting this warning
popViewControllerAnimated: called on <UINavigationController 0x15819800> while an existing transition or presentation is occurring; the navigation stack will not be updated.
 
Then you are wrongly using navigation controller delegate
refer some article
 
 
3 hours later…
1:00 PM
@BoominadhaPrakashM Okay
 
 
1 hour later…
2:07 PM
Hi Guys
 

« first day (1364 days earlier)      last day (1654 days later) »